http://www.mediawiki.org/wiki/Special:Code/MediaWiki/83998

Revision: 83998
Author:   neilk
Date:     2011-03-15 04:41:15 +0000 (Tue, 15 Mar 2011)
Log Message:
-----------
removing another use of the vertical tab & form feed escapes, which are not 
available in production php5.2.4

Modified Paths:
--------------
    trunk/phase3/includes/libs/JavaScriptMinifier.php

Modified: trunk/phase3/includes/libs/JavaScriptMinifier.php
===================================================================
--- trunk/phase3/includes/libs/JavaScriptMinifier.php   2011-03-15 04:37:06 UTC 
(rev 83997)
+++ trunk/phase3/includes/libs/JavaScriptMinifier.php   2011-03-15 04:41:15 UTC 
(rev 83998)
@@ -512,7 +512,7 @@
                        } else {
                                // Identifier or reserved word. Search for the 
end by excluding whitespace and
                                // punctuation.
-                               $end += strcspn( $s, " 
\t\n.;,=<>+-{}()[]?:*/%'\"!&|^~\f\v\r", $end );
+                               $end += strcspn( $s, " 
\t\n.;,=<>+-{}()[]?:*/%'\"!&|^~\xb\xc\r", $end );
                        }
 
                        // Now get the token type from our type array


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to