-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Fix inability to open Gmail when using reduce-tracking-mode. #3403
Fix inability to open Gmail when using reduce-tracking-mode. #3403
Conversation
a83767b
to
c9ad719
Compare
Oops, I am sorry. Gmail opens fine, but search queries which contain spaces are now causing an endless loop. Looking for another solution. |
c9ad719
to
a59d1c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix @shamazmazum. I've left some comments.
Please add a changelog entry as a separate commit.
source/mode/reduce-tracking.lisp
Outdated
@@ -56,15 +56,36 @@ still being less noticeable in the crowd.") | |||
:export nil | |||
:documentation "The timezone the system had before enabling this mode."))) | |||
|
|||
;; NB: QURI:URL-ENCODE-PARAMS is not applicable for filtering a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest moving the comment from the codebase to the commit message. Also, the specific case of gmail could be used as a test for reduce-tracking-mode
. The commit message should mention, in more general terms, the root of the issue instead of focusing in this concrete case.
@shamazmazum I took a brief look at the recent changes. Would it make sense to add a variant of |
@aadcg Where to put a new entry in the changelog? 4.0.0? 3.11.7? What is the next release? 3.11.7, as I presume. Few comments on code:
I agree with the rest. |
@shamazmazum 3.11.7, thanks. Your argumentation makes sense. |
Yes, it would be better. I'll take a look at it. It can take some time, though :) |
No pressure! Thanks. |
OK, I've added a PR to quri, waiting for approval. After it is merged, I'll modify this PR to use quri for correct handling of parameters. |
Sounds good @shamazmazum, thanks. |
STRIP-TRACKING-PARAMETERS added an extra level of percent encoding to a request which resulted in broken redirect and inability to open some pages like Google Mail.
a59d1c9
to
45a2496
Compare
I think, it's done :) |
@shamazmazum I've merged with PR with minor changes via commit 6a7afab, thanks! |
This PR fixes #3402. Fix
strip-tracking-parameters
which was damaging some kind of URLs.