Summary: | xdg-open has IFS problems opening URLs | ||
---|---|---|---|
Product: | Portland | Reporter: | Leho Kraav (:macmaN :lkraav) <leho> |
Component: | xdg-utils | Assignee: | Portland Bugs <portland-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | astarta, leho, plynchnlm |
Version: | 1.1.0 rc3 | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 34915 | ||
Bug Blocks: |
Description
Leho Kraav (:macmaN :lkraav)
2012-05-15 13:34:50 UTC
The problem is on line 662 of xdg-open (in the open_generic function): eval '$browser $1'$xdg_redirect_output; should be: eval '$browser "$1"'$xdg_redirect_output; because without the "" around $1, the IFS=":" will break up URLs on : characters. Should be fixed since, http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=d1cb061c85388cb9e87a3ea902061d7b94726971 *** This bug has been marked as a duplicate of bug 45859 *** Yes, that should fix it. I was looking at http://portland.freedesktop.org/, on which the latest version is v1.1.0-rc1, which does not have that commit. Thank you for the link to the git website. Maybe the portland website should have a prominent notice about the new stuff being on the git website. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.