View Issue Details

IDProjectCategoryView StatusLast Update
0003231mantisbtbugtrackerpublic2003-12-13 04:36
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
PlatformPCOSLinux Mandrake 
Product Version0.18.0a4 
Summary0003231: Redirect problem when user clicks on a bug link while not logged in
Description

After upgrading to Using mantis on Mandrakes Apache 2.0.46, Mantis no longer redirects if the client is not logged in, it just halts with ERROR: Access Denied. 2.0.45 worked flawlessly.

Additional Information

Reported by J.P.Pasnak on mantisbt-help.

Fixed this by moving the access_denied() error message in access_api.php so that it only shows up if it is not redirecting. It was a header error.

TagsNo tags attached.

Activities

vboctor

vboctor

2003-07-13 15:30

manager   ~0004406

Fixed in CVS. Will be available in 0.18.0a5.

Related Changesets

MantisBT: master dba7e7c1

2003-07-13 09:29

vboctor


Details Diff
Fix 0003231: Redirect problem when user clicks on a bug link while not logged in.

M core/access_api.php
- (access_denied): Do not echo "access denied" message if user is not logged in and is to be redirected to login screen.
1. It didn't make much sense
2. Sometimes the redirect didn't work because of the message.

Thanks to J.P. Pasnak for the fix.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2185 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003231
mod - doc/ChangeLog Diff File
mod - core/access_api.php Diff File