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

It does not remove cookie if domain *.foursquare.com #64

Open
paventuri opened this issue May 21, 2013 · 0 comments
Open

It does not remove cookie if domain *.foursquare.com #64

paventuri opened this issue May 21, 2013 · 0 comments
Assignees

Comments

@paventuri
Copy link

I was trying to disconnect my foursquare account and connect to other one, when I realize that the following code was not covering subdomains from foursquare

if ([[cookie domain]isEqualToString:@"foursquare.com"]) {
[storage deleteCookie:cookie];
}

In my case the domain was: pt.foursquare.com. It should be changed to:

if ([[cookie domain] rangeOfString:@"foursquare.com"].length > 0) {
[storage deleteCookie:cookie];
}

@g3ortega g3ortega self-assigned this Mar 16, 2019
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