r59027 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59026‎ | r59027 | r59028 >
Date:21:14, 13 November 2009
Author:daniel
Status:ok
Tags:
Comment:
rm debug echo (oops)
Modified paths:
  • /trunk/phase3/includes/Sanitizer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Sanitizer.php
@@ -620,8 +620,6 @@
621621 $out = array();
622622 foreach( $attribs as $attribute => $value ) {
623623 #allow XML namespace declaration. Useful especially with RDFa
624 - print "($attribute=$value)";
625 -
626624 if ( preg_match( MW_XMLNS_ATTRIBUTE_PATTRN, $attribute ) ) {
627625 if ( !preg_match( MW_EVIL_URI_PATTERN, $value ) ) {
628626 $out[$attribute] = $value;

Status & tagging log