New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 842641 link

Starred by 2 users

Issue metadata

Status: ExternalDependency
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Slash removed launching custom protocol only on Chrome Linux

Reported by gbocc...@gmail.com, May 14 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36

Steps to reproduce the problem:
1. register a custom protocol (let's say "customProtocol") to launch an app using %U as described at https://developer.gnome.org/integration-guide/stable/desktop-files.html.en#tb-exec-params
2. launch the following URL from Chrome "customScheme://a/b/?url=https://www.jhack.it/blog/"

What is the expected behavior?
The app receives exactly the string "customScheme://a/b/?url=https://www.jhack.it/blog/",

What went wrong?
The app receives "customScheme://a/b?url=https://www.jhack.it/blog/".
The slash after "b" is removed!

This works using Chrome for Mac and Windows, same version.

Did this work before? N/A 

Chrome version: 66.0.3359.170  Channel: stable
OS Version: Ubuntu 17.10
Flash Version:
 
Labels: Needs-Triage-M66
Cc: thomasanderson@chromium.org davidbienvenu@chromium.org pkasting@chromium.org timbrown@chromium.org
+pkasting +timbrown +davidbienvenu  This seems relevant to (but not caused by) the recent changes to omnibox handling of text with schemes.
It's strange that this works for Mac and Windows, which makes me wonder if it's actually xdg-open doing this instead of Chrome or something.

Comment 4 by gbocc...@gmail.com, May 14 2018

I tried Firefox, on the same machine, and it works, so it seems related to Chrome, but I cannot exclude xdg-open.
naive test of running xdg-open from the command line shows it eating the trailing /
Status: ExternalDependency (was: Unconfirmed)
Thanks, I filed a bug with xdg-utils which copies part of this bug report.
https://bugs.freedesktop.org/show_bug.cgi?id=106520

Marking as ExternalDependency for now.
Components: Internals>PlatformIntegration

Sign in to add a comment