[SPIP Zone] r4814 - /_acotes_/ortho/ortho_serveur.php

Author: gilles.vincent@gmail.com
Date: Tue Aug 22 21:58:00 2006
New Revision: 4814

Log:
Le message était mal terminé. Le marqueur de fin n'était pas présent, ce qui est bloqué par mod_security côté Apache

Modified:
    _acotes_/ortho/ortho_serveur.php

Modified: _acotes_/ortho/ortho_serveur.php

--- _acotes_/ortho/ortho_serveur.php (original)
+++ _acotes_/ortho/ortho_serveur.php Tue Aug 22 21:58:00 2006
@@ -376,7 +376,7 @@
     $body .= "\r\n";
     $body .= $val;
   }
- $body .= "\r\n--$boundary\r\n";
+ $body .= "\r\n--$boundary--\r\n";
   fputs($f, "POST $uri HTTP/1.0\r\n");
   fputs($f, "Content-Type: multipart/form-data; boundary=$boundary\r\n");
   fputs($f, "Content-Length: ".strlen($body)."\r\n");