Skip to content
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 navigate to gmail.com #3402

Closed
Drakx opened this issue May 21, 2024 · 4 comments
Closed

Unable to navigate to gmail.com #3402

Drakx opened this issue May 21, 2024 · 4 comments
Labels

Comments

@Drakx
Copy link

Drakx commented May 21, 2024

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

  • OS name+version:
    Void Linux

  • Graphics card and driver:
    Intel

  • Desktop environment / Window manager name+version:
    XFCE4

  • How you installed Nyxt (Guix pack, package manager, build from source):
    Package manager

  • Information from show-system-information:
    Nyxt version: 3.11.0
    Renderer: GI-GTK
    Operating system kernel: Linux 6.6.31_1
    Lisp implementation: SBCL 2.4.1.void.1 (Dynamic space size: 3221225472)
    Features: (:NYXT-GI-GTK :NYXT-GTK :NYXT-GI-GTK :NYXT-GTK :NYXT-3.11 :NYXT-3 :NYXT-3.11.0 :CLIPBOARD-CONTENT-METHOD :SWANK :SLYNK :PLUMP-UTF-32 :PARENSCRIPT :NSYMBOLS :FSET-EXT-STRINGS :SBCL+SAFE-STANDARD-READTABLE :NAMED-READTABLES :GLOBAL-VARS :CL-FAD :LPARALLEL :21BIT-CHARS :CUSTOM-HASH-TABLE-NATIVE :CL-PPCRE-UNICODE :CL-UNICODE :CL-JSON-DOUBLE-FLOAT-IS-SUBSUMED :CL-JSON-SINGLE-FLOAT-IS-SUBSUMED :CHUNGA :FLEXI-STREAMS :CL-PPCRE :WEBKIT2 :WEBKIT-2.42.5 :WEBKIT-2.42 :WEBKIT-2 :WEBKIT2-CORS-ALLOWLIST :WEBKIT2-PASTE-PLAINTEXT :WEBKIT2-TRACKING :WEBKIT2-MUTE :WEBKIT2-EMOJI :WEBKIT2-MEDIA :WEBKIT2-SANDBOXING :GTK-3-22 :GTK-3-20 :GTK-3-18 :GTK-3-16 :GTK-3-14 :GTK-3-12 :GTK-3-10 :GTK-3-8 :GTK-3-6 :GTK-3-4 :GTK :GDK-3-22 :GDK-3-20 :GDK-3-18 :GDK-3-16 :GDK-3-14 :GDK-3-12 :GDK-3-10 :GDK-3-8 :GDK-3-6 :GDK-3-4 :CAIRO-1-10 :CAIRO-1-12 :GDK-PIXBUF :CLOSER-MOP :GLIB-2-30 :GLIB-2-32 :GLIB-2-34 :GLIB-2-36 :GLIB-2-38 :GLIB-2-40 :GLIB-2-42 :GLIB-2-44 :GLIB-2-46 :GLIB-2-48 :GLIB-2-50 :GLIB-2-52 :GLIB-2-54 :GLIB-2-56 :GLIB-2-58 :GLIB :BORDEAUX-THREADS :LPARALLEL.WITH-CLTL2 :LPARALLEL.WITH-CAS :LPARALLEL.WITH-STEALING-SCHEDULER :SPLIT-SEQUENCE CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX :CFFI CFFI-SYS::FLAT-NAMESPACE ALEXANDRIA::SEQUENCE-EMPTYP :FAST-IO-SV :FAST-IO :CL-JSON-CLOS :CL-JSON :SBCL-USES-SB-ROTATE-BYTE CHIPZ-SYSTEM:GRAY-STREAMS :THREAD-SUPPORT :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :ARENA-ALLOCATOR :X86-64 :GENCGC :64-BIT :ANSI-CL :COMMON-LISP :ELF :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES :SB-CORE-COMPRESSION :SB-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE :SBCL :UNIX)

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
Copy link
Member

aadcg commented May 22, 2024

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

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

@aadcg aadcg added the bug label May 22, 2024
@shamazmazum
Copy link
Contributor

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

@shamazmazum
Copy link
Contributor

@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
Copy link
Member

aadcg commented May 23, 2024

Thanks for investigating @shamazmazum!

@aadcg aadcg closed this as completed in 545f210 May 31, 2024
aadcg pushed a commit that referenced this issue May 31, 2024
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.

Fixes #3402.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

3 participants