Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F9000
bug35315.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 12:14 AM
2014-11-22 00:14:50 (UTC+0)
Size
437 B
Referenced Files
None
Subscribers
None
bug35315.patch
View Options
Index: CharInsert.php
===================================================================
--- CharInsert.php (revision 114124)
+++ CharInsert.php (working copy)
@@ -49,7 +49,8 @@
return true;
}
-function charInsert( $data ) {
+function charInsert( $data, $params, $parser ) {
+ $data = $parser->mStripState->unstripBoth( $data );
return implode( "<br />\n",
array_map( 'charInsertLine',
explode( "\n", trim( $data ) ) ) );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8515
Default Alt Text
bug35315.patch (437 B)
Attached To
Mode
T37315: XSS in CharInsert, forged strip markers
Attached
Detach File
Event Timeline
Log In to Comment