r83998 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83997‎ | r83998 | r83999 >
Date:04:41, 15 March 2011
Author:neilk
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/phase3/includes/libs/JavaScriptMinifier.php
@@ -512,7 +512,7 @@
513513 } else {
514514 // Identifier or reserved word. Search for the end by excluding whitespace and
515515 // punctuation.
516 - $end += strcspn( $s, " \t\n.;,=<>+-{}()[]?:*/%'\"!&|^~\f\v\r", $end );
 516+ $end += strcspn( $s, " \t\n.;,=<>+-{}()[]?:*/%'\"!&|^~\xb\xc\r", $end );
517517 }
518518
519519 // Now get the token type from our type array

Follow-up revisions

RevisionCommit summaryAuthorDate
r846131.17wmf1: MFT r81692, r82468, r83814, r83885, r83891, r83897, r83902, r83903,...catrope17:42, 23 March 2011
r85434MFT: r83885, r83891, r83897, r83902, r83903, r83934, r83965, r83979, r83988, ...demon13:38, 5 April 2011

Status & tagging log