php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54374
Patch check-for-unclosed-opening-brackets revision 2011-03-24 19:09 UTC by lekensteyn at gmail dot com

Patch check-for-unclosed-opening-brackets for Variables related Bug #54374

Patch version 2011-03-24 19:09 UTC

Return to Bug #54374 | Download this patch
Patch Revisions:

Developer: lekensteyn@gmail.com

Index: rfc1867.c
===================================================================
--- rfc1867.c	(revision 309660)
+++ rfc1867.c	(working copy)
@@ -1008,6 +1008,10 @@
 					}
 					tmp++;
 				}
+				/* Brackets should always be closed */
+				if (c) {
+					skip_upload = 1;
+				}
 			}
 
 			total_bytes = cancel_upload = 0;
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 16 04:02:11 2014 UTC