<blockquote>
<p>WFM, provide exactly the steps you use to open it.</p>
</blockquote>
<p>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.</p>
<blockquote>
<p>Is there any legitimate use case of using line breaks in filenames? Even if it works, it feels quite strange to me.</p>
</blockquote>
<p>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.</p>
<p>Anyhow, I guess we could fix this by e.g. urlencoding the filenames sent through the socket.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2207?email_source=notifications&email_token=AAIOWJ74BZVYDB3Y2XNML53P53VCVA5CNFSM4H4KJMEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIWHRY#issuecomment-508650439">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6PCKFOE2PGKFPCZNDP53VCVANCNFSM4H4KJMEA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZXMT4DOO2MBDXXFDTP53VCVA5CNFSM4H4KJMEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIWHRY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2207?email_source=notifications\u0026email_token=AAIOWJ74BZVYDB3Y2XNML53P53VCVA5CNFSM4H4KJMEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIWHRY#issuecomment-508650439",
"url": "https://github.com/geany/geany/issues/2207?email_source=notifications\u0026email_token=AAIOWJ74BZVYDB3Y2XNML53P53VCVA5CNFSM4H4KJMEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIWHRY#issuecomment-508650439",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>