xdg-open does not decode URLs with non-latin symbols
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-utils (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: xdg-utils
Attempt to open file:// URL with non-latin symbols in it leads
to failure, because no decoding happens for URL. The script
tests if file exists and gets false result, because it attempts to
find a name with stuff file this '%D0%B3%D0%BB%D0%B' in name.
Appropirate place in script is marked as 'TODO'.
For example this is what happens when i try to open local filename
with name in russian from my Qt program:
Attempt to open: QUrl( "file:/
xdg-open: file '/home/
The xdg fails to open file, although it exists:
$ file "/home/
/home/vl/
The problem can be easily fixed with suggested patch - it decodes URL using sed, no perl/php is required.
The solution was obtained here: http://
tags: | added: patch |
Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software