View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010200 | mantisbt | public | 2009-03-11 22:14 | 2009-04-20 09:49 | |
| Reporter | joserobjr | Assigned To | siebrand | ||
| Priority | normal | Severity | text | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | All | OS | All | OS Version | All |
| Product Version | 1.1.6 | ||||
| Fixed in Version | 1.1.7 | ||||
| Summary | 0010200: \n not replaced in registration e-mail | ||||
| Description | The e-mail sent when registered is this: Date: the date Thank you for registering. You have an account with username "joserobjr". In http://www.mantisbt.org/bugs/verify.php?id=13231&confirm_hash=bf51de4e19df435793e0da1b7951a589 If you did not request any registration, ignore this message and nothing will | ||||
| Additional Information | The \n\n are not replaced with new line. | ||||
| Tags | No tags attached. | ||||
|
Same here in version 1.2.0a3. As well as in the mail send to reset the password. I found a workaround: in lang/strings_english.txt, replace the single quotes around the messages with \n with double quotes. Now PHP parses the \n as a line feed. not sure it's meant to be done like this, since I'm not familiar enough with how Mantis handles those messages. |
|
|
This problem appears in some localization files, while in others it seems to be corrected with constructs like: $s_reset_request_msg = 'Someone (presumably you) requested a password change through email verification. If this was not you, ignore this message and nothing will happen.' . "\n\n" . 'If you requested this verification, visit the following URL to change your password:'; |
|
|
Fixed 1.1.7 (master-1.1.x) |
|