ClearURLs / Rules

Rules database of the ClearURLs WebExtension.
https://docs.clearurls.xyz/latest/specs/rules/
GNU Lesser General Public License v3.0
129 stars 51 forks source link

HTTP/2 401 at Google auth confirmation due to ZX rule #55

Open boozelo opened 1 year ago

boozelo commented 1 year ago

Env: Linux, FF dev 107.0b1, ClearURLs 1.25.0 Steps to reproduce:

  1. Set non-english locale! - with English(US) everything goes fine
  2. Go to https://workspace.google.com/marketplace and try to install any app.
  3. Get error XHR POST https://accounts.google.com/signin/oauth/consent/approval?hl=ru&_reqid=30157&rt=j [HTTP/2 401 Unauthorized 71ms] in logs and "Подтверждение не отправлено, попробуйте еще раз"

ClearURL log: https://signaler-pa.clients6.google.com/punctual/multi-watch/channel?VER=8&gsessionid=XXXXX&key=XXXXXXXX&RID=rpc&SID=XXXXXXXXX&CI=0&AID=76&TYPE=xmlhttp&zx=isc9oXXwevf0&t=1 -- ZX rule applied ( ||google.*^$removeparam=zx ) https://lh3.googleusercontent.com/XXXX_XXXXX -- ETag header removed turning ETag clearing off has no effect

hlqviet commented 1 year ago

I also have this issue when connecting an external app to Google Drive. https://xmind.works/ for example.

I'm using English (UK).

iam-py-test commented 1 year ago

Maybe I'm an idiot, but I don't see a xz rule anywhere in the ClearURLs rules? Can you post the log from ClearURLs?

hlqviet commented 1 year ago

Oh I just checked again, no zx parameter for me. No idea why the logging could not capture anything but here is the problematic request URL before and after disabling ClearURLs:

https://accounts.google.com/signin/oauth/consent/approval?hl=en-GB&_reqid=66960&rt=j

https://accounts.google.com/signin/oauth/consent/approval?authuser=0&as=S-100475212%3A1682940954195343&hl=en-GB&_reqid=66960&rt=j
iam-py-test commented 1 year ago

Weird. Hopefully the developer will be able to figure out what's going on