neutronX / django-markdownx

Comprehensive Markdown plugin built for Django
https://neutronx.github.io/django-markdownx/
Other
839 stars 152 forks source link

getCookie() bug? #240

Closed alphatownsman closed 1 year ago

alphatownsman commented 2 years ago
        var cookies = document.cookie
            .split(';')
            .filter(function (cookie) { return cookie.indexOf(name + "=") === 0; })[0];

code works when cookie is csrftoken=xyz; abc=def but fails on abc=def; csrftoken=xyz

adi- commented 1 year ago

Fixed. Will be in new release.