[Portland-bugs] [Bug 44046] New: xdg-open with x-scheme-handler replaces & in URLs with %U

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 22 03:02:30 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=44046

             Bug #: 44046
           Summary: xdg-open with x-scheme-handler replaces & in URLs with
                    %U
    Classification: Unclassified
           Product: Portland
           Version: TP
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: freedesktop.zen.ssokolow at spamgourmet.com


As of this moment, I'm running the current git HEAD
(b961235b197647d6649ef3d48d7cc2cecafe3d47) in order to get proper URI handling
under LXDE. (Not that it's detected as such. See bug #36905)

With this version, ampersands in the the query string of an HTTP URL are
converted to %U, breaking the URL in the process.

Here's an example which will demonstrate the issue when run:

xdg-open http://www.youtube.com/watch?feature=relmfu&v=zlfKdbWwruY

I've manually reversed the order of the parameters because ordinary YouTube
URLs work (Apparently, if you pass something too long for the "v" parameter,
YouTube will truncate it and try again) and the original case I encountered
this bug in was clicking the link in my Bugzilla confirmation e-mail inside
Thunderbird.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list