View Issue Details

IDProjectCategoryView StatusLast Update
0004887mantisbtadministrationpublic2004-12-11 03:02
Reporterchiuc Assigned Tothraxisp  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.1 
Fixed in Version0.19.2 
Summary0004887: reset password sent email to user with extral texts
Description

the extral text shown between each field when generating the URL for sented password after reset:

the extral line looks like this "http://my.web.edu/mantis/view.php?id=#"

such as the remote IP will showed as
0000192.http://my.web.edu/mantis/view.php?id=#.168.http://my.web.edu/mantis/view.php?id=0000001.http://my.web.edu/mantis/view.php?id=0000001" rel="noopener">http://my.web.edu/mantis/view.php?id=0000192.http://my.web.edu/mantis/view.php?id=#.168.http://my.web.edu/mantis/view.php?id=0000001.http://my.web.edu/mantis/view.php?id=0000001

TagsNo tags attached.

Activities

thraxisp

thraxisp

2004-11-22 15:18

reporter   ~0008396

Could you post more of the email you received?

I can't reproduce this problem, nor can I see where it originates in the code from the description.

chiuc

chiuc

2004-11-23 04:02

reporter   ~0008408

Last edited: 2004-11-25 00:58

Thank you for the feed back the mail content as:


Someone (presumably you) requested a password change through email verification.
If this was not you, ignore this message and nothing will happen.

If you requested this verification, visit the following URL to change your
password:

"http://venus.wfc.edu.tw/mantis/verify.php?id=http://venus.wfc.edu.tw/mantis/view.php?id=# 3&confirm_hash=be912f9125bdd1f7216d287cd9614166"

Username: cchiu
Remote IP address:
"http://venus.wfc.edu.tw/mantis/view.php?id=# 163.http://venus.wfc.edu.tw/mantis/view.php?id=# 27.http://venus.wfc.edu.tw/mantis/view.php?id=# 21.http://venus.wfc.edu.tw/mantis/view.php?id=# 201"

DO NOT REPLY TO THIS MESSAGE

I added extra space at the end of # to prevent the showing of problem number cconnection. The double quote in the URL is also added purposely.

Anohter information is that this problem only showed on the sever with (LAMP) Linux (9.0), Apahce (1.x), MySql and PHP (4.26).

The same setting on WAMP has no problem in sending the URL.

chiuc

chiuc

2004-11-25 20:45

reporter   ~0008433

The question is: where is the code could generate the extra
"http://my.web.edu/mantis/view.php?id=#", could it come from:
$g_path/view.php?id=# or $g_absoulte_path/view.php?id=#

thraxisp

thraxisp

2004-12-08 11:22

reporter   ~0008544

Have you changed the config values for $g_bug_link_tag or $g_bugnote_link_tag?

The links you are seeing are as a result of the numbers in the URL being recognized as a a bugnote link.

chiuc

chiuc

2004-12-09 22:07

reporter   ~0008570

No, nothing changed in my server's config_default_inc.php or config_inc.php for either bug_link_tag or bugnote_link_tag.

However, I traced this problme the extra text when sent out email for reset password "http//venus.wfc.edu.tw/mantis/verify?id=".
We learned that when we change module: core/email_api.php
the function of: email_send(), at line 575 rem out by #

$t_message = string_email_links( trim( $p_message ));

and add
$t_message = $p_message;

The content of reset password email mesaage become normal. I haven't had time to look what in string_email_link() did to create the extra text. And, I don't kown what this will do to other email message thoguh!!

thraxisp

thraxisp

2004-12-10 06:42

reporter   ~0008571

It appears that this arisees from setting $g_bugnote_link_tag to an empty string. This should be invalid,

thraxisp

thraxisp

2004-12-10 21:58

reporter   ~0008580

Fixed in CVS.

Checked for bug/bugnote tag being blank in both string translation and admin check.