WrapEarnPass left a comment (geany/geany#4611)

@CVE-Hunter-Leo Thanks to you, I found that the clang suite doesn't handle 
filenames well either.
https://github.com/llvm/llvm-project/issues/207396

@b4n after testing in my autorun code, filesystem access seems to be fixable on 
linux with a single escape. 
' -> '\''

Windows seems to want 
% -> %% 
^ -> ^^         
& -> ^&
< -> ^<
> -> ^>
| -> ^|

I am less confident about that, as I haven't used a Windows daily driver in 7 
years now.

Still, without a single Geany source to pull these replacements from (like the 
hypothetical GeanyFile above), every consumer of any file including Geany 
itself would need to guard for these replacements.

This also does not address the fact that non-printable characters are legal in 
filenames and can break GTK widget layouts.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4611#issuecomment-4877212619
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4611/[email protected]>

Reply via email to