r91222 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r91221
|
r91222
|
r91223
>
Date:
21:14, 30 June 2011
Author:
hashar
Status:
ok
Tags:
Comment:
test that wfUrlencode() encodes apostrophe
Modified paths:
/trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php
—
—
@@ -118,6 +118,9 @@
119
119
// Other 'funnies' chars
120
120
array( '[]', '%5B%5D' ),
121
121
array( '<>', '%3C%3E' ),
122
+
123
+ // Apostrophe is encoded
124
+ array( '\'', '%27' ),
122
125
);
123
126
}
124
127
}
Status & tagging log
23:58, 1 July 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r91222
[
removed:
new
added:
ok]