From: Daniel W. <d...@ni...> - 2005-04-08 10:06:28
|
Tomas Kuliavas wrote: >>BUG REPORT >>=========== >>SQM: 1.4.4 (fresh install - included plugins) >>PHP 4.3.10 >>Fedora 1 >> >> >> >>Symptom >>======== >>Send an attachment called: "attachment with spaces and apostrophy's.txt" >>When received this has been truncated to just "s.txt". >> >> >>Fix >>=========== >>Just a shot in the dark but perhaps we need to do some simple escaping >>here? =) > > > test script (upload.php) > ----- > <?php > header('Content-Type: text/html'); > ?> > <form enctype="multipart/form-data" action="upload.php" method="POST"> > Send this file: <input name="userfile" type="file" /> > <input type="submit" value="Send File" /> > </form> > <pre> > <?php > print_r($_FILES); > ?> > </pre> > ------ > > Your php version displays attachment name that way. > > http://bugs.php.net/bug.php?id=31398 > ahh thanks! i'll get 4.3.11 installed. |