Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2444
mediawiki-fix-cookieprefix.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:55 PM
2014-11-21 20:55:09 (UTC+0)
Size
377 B
Referenced Files
None
Subscribers
None
mediawiki-fix-cookieprefix.patch
View Options
Index: includes/Setup.php
===================================================================
--- includes/Setup.php (revision 21546)
+++ includes/Setup.php (working copy)
@@ -134,6 +134,7 @@
} else {
$wgCookiePrefix = $wgDBname;
}
+$wgCookiePrefix = strtr($wgCookiePrefix, "=,; +.\"'\\[", "__________");
# If session.auto_start is there, we can't touch session name
#
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2020
Default Alt Text
mediawiki-fix-cookieprefix.patch (377 B)
Attached To
Mode
T5826: Cookie problem when database name contains dot or plus
Attached
Detach File
Event Timeline
Log In to Comment