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