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

Improve 'set-cookie' — add 'domain' parameter #389

Closed
Alex-302 opened this issue Dec 15, 2023 · 1 comment
Closed

Improve 'set-cookie' — add 'domain' parameter #389

Alex-302 opened this issue Dec 15, 2023 · 1 comment

Comments

@Alex-302
Copy link
Member

Related to AdguardTeam/AdguardFilters#168097

At the moment, impossible to specify cookie's domain.
Scriptlet create's a cookie with domain = www.walmart.ca

On walmart.ca this cookie is not accepted by the site (www.walmart.ca)

uxcon	enforce=false&p13n=false&ads=false&createdAt=1702648473855&modifiedAt=1702648511162	www.walmart.ca	/	2024-12-14T14:08:48.000Z	88					Medium	

this accepted (.walmart.ca)

uxcon	enforce=false&p13n=false&ads=false&createdAt=1702648473855&modifiedAt=1702648511162	.walmart.ca	/	2024-12-14T14:03:30.000Z	88					Medium

Unblock walmart.ca#%#document.cookie = "uxcon=enforce=false&p13n=false&ads=false&createdAt=1672531204&modifiedAt=1672531204; domain=.walmart.ca; path=/"; before test.

@Alex-302
Copy link
Member Author

Alex-302 commented Mar 1, 2024

Another case AdguardTeam/AdguardFilters#173828

image

@adguard-bot adguard-bot changed the title Improve set-cookie scriptlets - add 'domain' parameter Improve set-cookie scriptlets — add 'domain' parameter Mar 12, 2024
@adguard-bot adguard-bot changed the title Improve set-cookie scriptlets — add 'domain' parameter Improve 'set-cookie' — add 'domain' parameter Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants