Charles Plessy <[email protected]> writes: > > As you see, the reason is to avoid shell meta-characters. This was probably > written with only ASCII in mind, we need to make it more Unicode-friendly.
Yes, though the filenames can be any bytes, not necessarily utf8. You could put in \x80-\xFF all allowed perhaps. Strictly speaking \x80 to \x9F are control characters, but they would only hurt the tty (perhaps) and should be fine to a program. My bug 723708 had trouble with spaces in filenames. I think the space which is currently in the regexp should be disallowed. Many debian mailcaps are '%s' as a kind of defensive, but still imperfect, quoting but the mailcap rfc doesn't show that and so I think spaces should not be given to a mailcap command. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

