View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037133 | mantisbt | ui | public | 2026-05-15 11:07 | 2026-05-16 13:29 |
| Reporter | raspopov | Assigned To | community | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 2.28.3 | ||||
| Target Version | 2.29.0 | ||||
| Summary | 0037133: The buttons on the “Access Denied” widget may contain incorrect links | ||||
| Description | For example, the “/admin/login_page.php?return=admin%2Findex.php” is converted to “admin/login_page.php?return=admin%2Findex.php” for "Login" button. | ||||
| Steps To Reproduce | The following conditions must be met:
| ||||
| Additional Information | This happens because the root “/” is stripped from relative URLs in the
the variables $t_script_path and $t_script now contain empty strings, and the root “/” is not restored. | ||||
| Tags | No tags attached. | ||||
Oops, I meant that the link for the button should be “/login_page.php?return=admin%2Findex.php”, but because the “/” is missing, it turns into “login_page.php?return=admin%2Findex.php” and since the button is on the “/admin/” page, the full path becomes “/admin/login_page.php?return=admin%2Findex.php”. |
|
|
Nice catch, thanks @raspopov.
Just checking - are you actually setting $g_short_path (because normally you should not), or just stating that it holds |
|
|
By core.php, automatically. |
|