[Github-comments] [geany/geany] File with newline in name cannot be opened (#2207)

Colomban Wendling notifications at xxxxx
Fri Jul 5 06:48:10 UTC 2019


> WFM, provide exactly the steps you use to open it.

You need a running instance of Geany already, for the open to send files through the socket.  Then it fails, as filenames are split by line.

> Is there any legitimate use case of using line breaks in filenames? Even if it works, it feels quite strange to me.

Agreed.  Well, I agree with the OP there's a bug, but I don't feel it's very important given that there are ways to open file file anyway (e.g. open dialog), and that it really seem like an odd corner case.

Anyhow, I guess we could fix this by e.g. urlencoding the filenames sent through the socket.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2207#issuecomment-508650439
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190704/9e53d0a1/attachment.html>


More information about the Github-comments mailing list