View Issue Details

IDProjectCategoryView StatusLast Update
0035587mantisbtadministrationpublic2025-03-16 06:43
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version2.28.0Fixed in Version2.28.0 
Summary0035587: Access Denied page's Login button has Invalid URL when triggered from Admin pages
Description

When access_denied() is called from an admin page, the Login button returns a 404 because auth_login_page() returns a relative URL and the login page does not exist under /admin directory.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 9cdc361a

2025-03-15 14:09

dregad


Details Diff
Fix Login URL from access denied page login button

When access_denied() is called from an admin page, the Login button
returns a 404 because auth_login_page() returns a relative URL and the
login page does not exist under /admin.

Fixes 0035587
Affected Issues
0035587
mod - core/access_api.php Diff File

MantisBT: master 2f75ab6d

2025-03-16 06:42

dregad


Details Diff
Fix login page redirection from admin page

When an unauthenticated user tries to access the admin page, they are
redirected to the login page, but this was broken by use of absolute URL
introduced in commit 9cdc361a80b2a3fa614ca2648a97342bd0a18236.

Fixes 0035587
Affected Issues
0035587
mod - core/access_api.php Diff File