Inkscape fails to open file from the web (via URL) on the command line (regression)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Patrick Monnerat |
Bug Description
Steps to reproduce:
1) open a terminal window
2) launch Inkscape with the URL as argument, e.g.
$ inkscape http://
Expected result:
A copy of the file opens in Inkscape.
Actual result:
Inkscape fails to open the file, with this message on the console:
** (inkscape-
Reproduced with Inkscape 0.48.x r9901 and Inkscape 0.48+devel r11533
on Mac OS X 10.5.8 (32bit, glib 2.28.8) and OS X 10.7.4 (64bit, glib 2.32.3).
Testing with archived builds indicates that a change between r11297 and r11300 caused this regression:
Likely one of the two commits for Bug #695120 “cannot open relative paths using script extensions from command line”:
<http://
<http://
Changed in inkscape: | |
status: | New → Confirmed |
importance: | Undecided → High |
The attached patch (for trunk) checks if the filename has the form of an URI and suppresses relative path processing if so.
It can be easily be backported to 0.48.