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

Cookie file support #326

Merged
merged 1 commit into from
Jan 13, 2024
Merged

Cookie file support #326

merged 1 commit into from
Jan 13, 2024

Conversation

snshn
Copy link
Member

@snshn snshn commented Dec 4, 2022

127.0.0.1   FALSE   /   FALSE   0   USER_TOKEN  in

7 tab-separated fields: domain, tailmatch, path, secure, expires, name, value.

@snshn
Copy link
Member Author

snshn commented Jan 13, 2024

Resolves #55

@snshn snshn merged commit 78c3795 into Y2Z:master Jan 13, 2024
9 checks passed
@Phrynobatrachus
Copy link

Nice, I was looking at this too recently. One small note from wget is that they also check the port:

https://github.com/mirror/wget/blob/9a35fe609c87c558153cff80fef7dea809b3cf63/src/cookies.c#L1220-L1221

Thanks for merging!

@snshn
Copy link
Member Author

snshn commented Jan 16, 2024

@Phrynobatrachus it's tricky, https://stackoverflow.com/questions/1612177/are-http-cookies-port-specific claims that port is not relevant;

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

Successfully merging this pull request may close these issues.

2 participants