Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7708
suffix_URL_with_space_for_MUAs.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, 11:31 PM
2014-11-21 23:31:29 (UTC+0)
Size
900 B
Referenced Files
None
Subscribers
None
suffix_URL_with_space_for_MUAs.patch
View Options
Index: includes/specials/SpecialUserlogin.php
===================================================================
--- includes/specials/SpecialUserlogin.php (revision 82697)
+++ includes/specials/SpecialUserlogin.php (working copy)
@@ -833,8 +833,12 @@
$u->setNewpassword( $np, $throttle );
$u->saveSettings();
$userLanguage = $u->getOption( 'language' );
+
+ # Generates mail content, URL followed by an hardcoded space to
+ # helps mail user agents parsing the URL followed by a parenthese
+ # (bug 27668).
$m = wfMsgExt( $emailText, array( 'parsemag', 'language' => $userLanguage ), $ip, $u->getName(), $np,
- $wgServer . $wgScript, round( $wgNewPasswordExpiry / 86400 ) );
+ $wgServer . $wgScript . ' ', round( $wgNewPasswordExpiry / 86400 ) );
$result = $u->sendMail( wfMsgExt( $emailTitle, array( 'parsemag', 'language' => $userLanguage ) ), $m );
return $result;
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7237
Default Alt Text
suffix_URL_with_space_for_MUAs.patch (900 B)
Attached To
Mode
T29668: Manual account creation through e-mail results in bad link (French).
Attached
Detach File
Event Timeline
Log In to Comment