Commit:    95dcd799fb6fdccbc60d3bba3cd759f6b421ee69
Author:    Pierre Joye <pierre....@gmail.com>         Wed, 21 Mar 2012 06:58:55 
+0100
Parents:   cb4e82a1cc16457da224dd045842583c69bfa00e
Branches:  PHP-5.3

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=95dcd799fb6fdccbc60d3bba3cd759f6b421ee69

Log:
- merge fix bug #54374, bug #55500 - filter file names better, no dangling [s, 
svn revision 321664

Bugs:
https://bugs.php.net/54374
https://bugs.php.net/55500

Changed paths:
  M  main/rfc1867.c


Diff:
95dcd799fb6fdccbc60d3bba3cd759f6b421ee69
diff --git a/main/rfc1867.c b/main/rfc1867.c
index ddde3e7..31605cf 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -1015,6 +1015,10 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* 
{{{ */
                                        }
                                        tmp++;
                                }
+                               /* Brackets should always be closed */
+                               if(c != 0) {
+                                       skip_upload = 1;
+                               }
                        }
 
                        total_bytes = cancel_upload = 0;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to