View Issue Details

IDProjectCategoryView StatusLast Update
0012679mantisbtinstallationpublic2014-12-08 02:07
Reporterjason Assigned Togiallu  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformChrome/FireFoxOSOSXOS Version10.6.6
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0012679: http_content_headers() xhtml headers cause issues on install.php (version 1.3)
Description

in http_content_headers() the line:
header( 'Content-Type: application/xhtml+xml; charset=UTF-8' );

seems to cause issues with install.php. In Chrome the output looks like unformatted HTML. FireFox shows an XML document. Didn't try any other browsers

Steps To Reproduce

Install mantisbt-1.3.0dev-2011-01-11-master-8e303d2.zip

open browser to mantis, it redirects to admin/install.php

content headers seem to confuse the browser.

Additional Information

Once installation is complete, the offending line can be put back in so it seems to be only an issue with the install page.

TagsNo tags attached.

Relationships

related to 0012641 closeddhx content-type not valid for IE 
related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

dhx

dhx

2011-01-11 21:10

reporter   ~0027903

This was recently fixed in 0012641. Please check out a new copy of mantisbt-1.3.x and your problem should be resolved. If you can still reproduce this issue with the latest git copy of 1.3.x please reopen this issue.

Thanks for reporting!

atrol

atrol

2011-01-12 02:26

developer   ~0027904

It's not fixed. The 0012641 fix was commited 2011-01-07 but jason's issue is with nightly build from 2011-01-11
I can confirm that it's not fixed with this build. I tried FF.

atrol

atrol

2011-01-12 02:55

developer   ~0027905

Installation is working with IE.
install.php sends header Content-Type application/xhtml+xml to FF
after installation with IE Content-Type text/html is also sent to FF

atrol

atrol

2011-01-12 03:06

developer   ~0027906

Correction
there are pages which are delivered with "application/xhtml+xml" to FF and properly rendered
there are also page which are delivered with "text/html" to FF and also properly rendered

atrol

atrol

2011-01-15 09:08

developer   ~0027953

David, I think this is the problem which was mentioned in IRC today

dhx

dhx

2011-01-15 09:16

reporter   ~0027955

I can confirm this is still an issue. Paul has advised me that he has a patch he is going to commit to solve the problem.

I suspect that core.php is sending Content-Type headers on behalf of install.php and therefore install.php really needs to have an <?xml ...> tag at the start of the output.

atrol

atrol

2011-01-18 11:56

developer   ~0027987

Gianluca patched the issue
http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=eca0321ae6245f7d1e31d2559e86a21112b19015
Seems to be fixed
I tried FF, Chrome and IE,

dregad

dregad

2012-10-10 12:57

developer   ~0033134

Fix confirmed.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036228

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master eca0321a

2011-01-16 13:35

giallu


Details Diff
Fix issue with browser (Firefox) showing only the document tree.

Additional fixes for XHTML strict conformance
Affected Issues
0012679
mod - admin/install.php Diff File