View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007282 | mantisbt | administration | public | 2006-07-14 13:21 | 2006-09-12 00:54 |
Reporter | arnoschaefer | Assigned To | ryandesign | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 1.0.3 | ||||
Summary | 0007282: invalid redirect url returned from string_sanitize_url when incuding # anchor | ||||
Description | Redirects in Mantis 1.0.3 fail if the redirected url contains a # anchor, e.g. after editing a bugnote: http://intranet.staging.jobpilot.net:8000/admin/mantis/view.php?id=10749#bugnotes Related bug: 0007055, 0007116, 0007087, 0007088: the reason the bug did not appear in 1.0.2 was that in the line if ( strpos( '?', $t_url ) !== FALSE ) { the strpos call is incorrect and thus always returns FALSE: the following code is never executed. The supposedly corrected code in 1.0.3 contains the error mentioned above. | ||||
Steps To Reproduce | edit bugnote, then after save, wait for reload | ||||
Additional Information | Suggested fix:
| ||||
Tags | No tags attached. | ||||
duplicate of | 0007088 | closed | vboctor | bugnote_delete.php redirection fails |
related to | 0007055 | closed | vboctor | invalid redirect url returned from string_sanitize_url |
related to | 0007116 | closed | vboctor | Redirection after editing of bugnote fails |
related to | 0007087 | closed | vboctor | bugnote_delete.php redirection fails |