r8762 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r8761‎ | r8762 | r8763 >
Date:09:13, 30 April 2005
Author:vibber
Status:old
Tags:
Comment:
Forgot one of the wfEscapeJsString()s
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1034,7 +1034,7 @@
10351035 // Older browsers show a "speedtip" type message only for ALT.
10361036 // Ideally these should be different, realistically they
10371037 // probably don't need to be.
1038 - $tip = addslashes( $tool['tip'] );
 1038+ $tip = wfEscapeJsString( $tool['tip'] );
10391039
10401040 #$key = $tool["key"];
10411041

Status & tagging log