-
Notifications
You must be signed in to change notification settings - Fork 81
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
Unable to set-cookie with ; #3178
Comments
With reload:
|
For sake of convenience I think I will add detection of special characters in cookie name/value and encode with |
This comment was marked as abuse.
This comment was marked as abuse.
Right, I just tested the changes to automatically encode if needed and a reload was necessary for the cookie notice to go away. |
Does this fix the option |
Yes, with the change, your original filter works, no need to encode as pointed out by @gwarser. |
Doesn’t work as expected with uBlock Origin 1.56.1rc5 Firefox. Instead of
It set
and this will make the filter failing. |
As per RFC 6265 the characters |
As per RFC 6265 the characters ", should be encoded but apparently browsers don't care. Remove them from the set of characters which presence trigger encoding. Related feedback: uBlockOrigin/uBlock-issues#3178 (comment)
This comment was marked as abuse.
This comment was marked as abuse.
I'm using I tried to set srajagopalan.substack.com##+js(trusted-set-cookie, intro_popup_last_hidden_at, $currentDate$) but it returns When I use srajagopalan.substack.com##+js(trusted-set-cookie, intro_popup_last_hidden_at, $currentISODate$) it returns literal string Would it be possible to have a vararg to determine when to encode the value? |
I will exclude |
Can’t set
Only a trusted set works
|
Because https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes:
The gorhill/uBlock@b4d8750: |
Related feedback: uBlockOrigin/uBlock-issues#3178 (comment)
Prerequisites
URL address of the web page
dach-shop24.de
Category
nuisance
Description
Trying to set-cookie to fix the cookie consent on dach-shop24.de for essential and external media only
Suggested rule:
set-cookie stops on essenziell" in ignores the rest of the filter rule.
Other extensions used
N/A
Screenshot(s)
N/A
Configuration
N/A
The text was updated successfully, but these errors were encountered: