View Issue Details

IDProjectCategoryView StatusLast Update
0014759mantisbtauthenticationpublic2014-12-08 02:07
Reporterphyllisl Assigned Todregad  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0014759: Access Denied Page Has XML Parse Error
Description

When user change his own access level to lower level, it directs to a page with "Access Denied" message. However the page is not well formed and crashes the program

Steps To Reproduce

Login as Administrator -> Manage Users -> Choose the current user -> Change access level from Administrator to Viewer -> XML Parsing Error: junk after document element

TagsNo tags attached.

Relationships

related to 0013304 closeddregad Error handler causes XML Parsing Errors 
child of 0014088 closedvboctor Mantis 1.3.0 blocking issues 

Activities

phyllisl

phyllisl

2012-10-02 20:20

reporter   ~0033000

If I add html_page_top() and html_page_bottom() to line 628 and 634 in access_api.php, at the access_denied function, then the xml parse error goes but the page cannot redirect anymore.


+html_page_top( null, $result ? $t_redirect_url : null );
echo '<p class="center">' . error_string( ERROR_ACCESS_DENIED ) . '

';
echo '<p class="center">';
print_bracket_link( helper_mantis_url( 'main_page.php' ), lang_get( 'proceed' ) );
echo '

';
+html_page_bottom();

vboctor

vboctor

2013-10-01 00:42

manager   ~0038160

I was not able to reproduce this issue on the master branch.

dregad

dregad

2013-10-01 03:19

developer   ~0038165

which is normal if you're using my 13x branch as I fixed it there

Related Changesets

MantisBT: master ec574f8c

2013-06-07 01:21

dregad


Details Diff
Revert "Issue 0012545: Enforce XHTML strict output for all pages served"

This reverts commit 4fc1d8b8290872e660c6d9a179c4c2209adf7e26.

Fixes 0013304, 0014759, 0015446

Conflicts:

core/http_api.php
Affected Issues
0012545, 0013304, 0014759, 0015446
mod - core/html_api.php Diff File
mod - core/http_api.php Diff File