BUG: Attachments with names containing parentheses can not be opened
I've recently received some emails with attachments with names containing
parentheses. MPro (2.73.6) is unable to handle this. The immediately-visible
result is MPro reporting â€œunable to openâ€; checking in /tmp/gemini* shows the
presence of the file.
Editing the message to remove the parentheses allows the file to be opened
This looks to me like a failure to fully mangle the file name so that
shell-special characters are properly escaped or substituted for use in a
Because of how system() works (invocation of /bin/sh â€“ here, that's a symlink
whuch points to bash, but I wouldn't like to rely on it being dash or bash),
I prefer to use fork()+exec() (in this case, execlp() or execvp()) and avoid
any need to do any escaping or susbstitution other than of directory
| _ | Darren Salt, using Debian GNU/Linux (and Android)
| ( ) |
| X | ASCII Ribbon campaign against HTML e-mail
| / \ |
Take the bull by the hand and avoid mixed metaphors.
This message was sent via the gemini-users mailing list
To unsubscribe, mail gemini-users+unsubscribe@...