Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Fix as suggested in https://github.com/uBlockOrigin/uMatrix-issues/is… #1008

Closed
wants to merge 1 commit into from
Closed

Conversation

uBlock-user
Copy link
Contributor

@gwarser
Copy link

gwarser commented Jan 1, 2019

@uBlock-user
Copy link
Contributor Author

I didn't add any checks, if that's what you mean, just the required header for uMatrix to get COOKIE blocking and REFERRER blocking functionality back.

@gorhill
Copy link
Owner

gorhill commented Jan 1, 2019

It's fixed on my side since yesterday. You can't just add extraHeaders like this, you have to check for version otherwise this breaks pre-73 versions and whether this is Chromium.

@gorhill gorhill closed this Jan 1, 2019
@uBlock-user
Copy link
Contributor Author

uBlock-user commented Jan 1, 2019

It's fixed on my side since yesterday

How ? It affects all the dev/beta builds of Chromium. I can still reproduce, so what changed on your side ?

whether this is Chromium.

I looked for Chromum folder and it only had a python file and nothing else.

@uBlock-user uBlock-user deleted the patch-1 branch January 1, 2019 13:00
@gorhill
Copy link
Owner

gorhill commented Jan 1, 2019

"Fixed on my side" means I already have the fix locally. I didn't immediately commit/tag a new build because it's on top of another fix, and I wanted to test more. Just adding extraHeaders breaks Chromium pre-72 (first thing I checked) and possibly Firefox. However I revised the fix to use the approach from the Chromium dev pointed above by @gwarser, I was testing using vAPI.webextFlavor -- which works fine but I prefer the officially suggested approach.

Also, it's not needed for onHeadersReceived.

@uBlock-user
Copy link
Contributor Author

Does this affect uBlock too ? Lets say I have a scriptlet thats designed for not sending cookies, would it work without extraHeaders in uBO ?

@gorhill
Copy link
Owner

gorhill commented Jan 1, 2019

Lets say I have a scriptlet thats designed for not sending cookies

Makes no difference, there is no code in uBO to deal with Cookie header.

@uBlock-user
Copy link
Contributor Author

uBlock-user commented Jan 1, 2019

No my question is will my cookie blocker scriptlet work or to simply put are scriptlets affected by this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants