Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCookie() bug? #240

Closed
alphatownsman opened this issue May 31, 2022 · 1 comment
Closed

getCookie() bug? #240

alphatownsman opened this issue May 31, 2022 · 1 comment

Comments

@alphatownsman
Copy link

        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-
Copy link
Member

adi- commented Mar 30, 2023

Fixed. Will be in new release.

@adi- adi- closed this as completed Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants