View Issue Details

IDProjectCategoryView StatusLast Update
0011099mantisbtemailpublic2010-02-22 14:34
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.0rc2 
Target Version1.2.0Fixed in Version1.2.0 
Summary0011099: Signup email notifications are not encoded correctly
Description

Note how spaces are encoded below:

Username:& # 32 ;joe
E-mail:& # 32 ;joe@mymail.com
Remote IP address:& # 32 ;123.123.123.123
http://www.mantisbt.org/bugs/

Tagspatch

Activities

vboctor

vboctor

2009-10-30 01:00

manager   ~0023481

The construction of the email body uses the localized word separator which in case of text html ends up not translating back to a space.

string_english.txt:
$s_word_separator = ' ';

core/email_api.php: email_send_confirm_hash_url()

$t_message = lang_get( 'reset_request_msg' ) . " \n\n" . string_get_confirm_hash_url( $p_user_id, $p_confirm_hash ) . " \n\n" . lang_get( 'new_account_username' ) . lang_get( 'word_separator' ) . $t_username . " \n" . lang_get( 'new_account_IP' ) . lang_get( 'word_separator' ) . $_SERVER["REMOTE_ADDR"] . " \n\n" . lang_get( 'new_account_do_not_reply' );

same issue with email_notify_new_account().

@siebrand, other places in email_api uses a normal space rather than word separator which works fine. Can we change all usage in email_api.php to normal space?

Related Changesets

MantisBT: master-1.2.x 5c05c074

2009-12-01 22:13

vboctor


Details Diff
Fixes 0011099: Signup email notifications are not encoded correctly. Affected Issues
0011099
mod - core/email_api.php Diff File

MantisBT: master 0dc5580d

2009-12-01 22:13

vboctor


Details Diff
Fixes 0011099: Signup email notifications are not encoded correctly. Affected Issues
0011099
mod - core/email_api.php Diff File