If the input parameter contains a :, Leadpad considers it to be a
URI - not a filename. The attached patch changes the behaviour where
names have a : to first run through Leafpad's URI load, and if not
matching a supported format, to then use as a filename.
file.c.patch
Description: Binary data
Package: leafpad
Version: 0.8.16-1
Severity: normal
Leafpad completely fails to open any file that has a colon in its name.
For example:
$ echo hello world test:file.txt
$ cat test:file.txt
hello world
$ leafpad test:file.txt
Leafpad pops up with a blank window
2 matches
Mail list logo