atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.64k stars 404 forks source link

Unable to navigate to gmail.com #3402

Closed Drakx closed 3 weeks ago

Drakx commented 1 month ago

Describe the bug When trying to navigate to either Gmail the following happens

Screenshot_2024-05-22_00-45-09

Precise recipe to reproduce the issue Either press CTRL+l or ALT+l and enter gmail.com press enter produces the above screenshot

For website-specific issues: Can you reproduce this issue with Epiphany / GNOME Web (https://wiki.gnome.org/Apps/Web)?

No

Information

ASDF version: 3.3.1 ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY) Critical dependencies: (/builddir/nyxt-3.11.0/_build/cl-cffi-gtk/gtk/cl-cffi-gtk.asd /builddir/nyxt-3.11.0/_build/cl-gobject-introspection/cl-gobject-introspection.asd /builddir/nyxt-3.11.0/_build/cl-webkit/webkit2/cl-webkit2.asd)

aadcg commented 1 month ago

It should work once you disable reduce-tracking-mode.

Note to self: check whether updating preferred-user-agent fixes it.

shamazmazum commented 1 month ago

@aadcg Oh, I also suffered from this issue all this time :) C-r always worked as a workaround though

shamazmazum commented 1 month ago

@aadcg It's because strip-tracking-parameters damages URL:

NYXT-USER> (defparameter *request* (quri:uri "http://google.com/query?continue=http://google.ru"))
*REQUEST*
NYXT-USER> *request*
#<QURI.URI.HTTP:URI-HTTP http://google.com/query?continue=http://google.ru>
NYXT-USER> (setf (quri:uri-query-params *request*) (quri:uri-query-params *request*))
"continue=http%3A%2F%2Fgoogle.ru"
NYXT-USER> *request*
#<QURI.URI.HTTP:URI-HTTP http://google.com/query?continue=http%3A%2F%2Fgoogle.ru>
NYXT-USER> 

Gmail has a lot of parameters which contain symbols : and / which must remain not URL-encoded, as it seems.

aadcg commented 1 month ago

Thanks for investigating @shamazmazum!