[Portland-bugs] [Bug 34915] xdg-open cant open some valid urls (if URL doesnt match existing filename)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 29 05:05:53 PDT 2011


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

--- Comment #3 from Leho Kraav (:macmaN :lkraav) <leho at kraav.com> 2011-08-29 05:05:52 PDT ---
apologies, while above patch makes things apparently work, it's not a proper
fix. afaics

415     # Paths or file:// URLs
416     if (echo "$1" | grep -q '^file://' ||
417         ! echo "$1" | egrep -q '^[a-zA-Z+\.\-]+:'); then

should not succeed for http URLs, but it does. [a-zA-Z] matching always creates
locale problems.

-- 
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