URL-encoded filenames in reports

Stephane sleclerc at actionweb.fr
Thu Mar 22 10:21:08 CET 2007


Rick Chadderdon <mailscanner <at> yeticomputers.com> writes:

> While it's a less than optimal solution, my few tests with this have
> shown that all of the web browsers/email clients I've tried this on will
> URLize the spaces and odd characters automatically.  The links work fine
> for me right now, although I have not done extensive testing.  Yes, it
> would be nice if we had a properly URL encoded variable, but at the
> moment, I don't seem to need it.
> 
> Rick


Hi Rick!

This example doesn't work:

http://quarantine.actionweb.fr/download.php?hostname=antispam2.actionweb.fr&date=20070317&id=1HSb00-0002U3-7R&filename=WSComparison_#.DOC

No way to catch "#". Same problème with filename with special characters as "é à
@ $", etc.

Working example:

http://quarantine.actionweb.fr/download.php?hostname=antispam2.actionweb.fr&date=20070317&id=1HSb00-0002U3-7R&filename=message.zip

Tested with Firefox Mac OSX.

Stéphane




More information about the MailScanner mailing list