View Issue Details

IDProjectCategoryView StatusLast Update
0003689mantisbtbugtrackerpublic2004-08-29 02:01
Reporterfuerst Assigned Tojlatour  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.2 
Fixed in Version0.19.0rc1 
Summary0003689: index.php is sending wrong HTTP header if not logged in.
Description

If the user is not logged in and is calling index.php he will be redirected to login_page.php. Mantis is sending a "Status: 302" header which will produce an error in Mozilla and Safari.

If removing the "Status: 302" header from core/print_api.php Mantis is working as aspected.

Additional Information

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF="">here</A>.


Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.
<HR>
<ADDRESS>Apache/1.3.26 Server at bugs.skallid.net Port 80</ADDRESS>
</BODY></HTML>

TagsNo tags attached.

Activities

redcom

redcom

2004-04-13 15:12

reporter   ~0005377

As a side, if you click on the "XHTML Validate me" link at the bottom of the page on http://bugs.mantisbt.org/view_all_bug_page.php you will get a page with the following:

I got the following unexpected response when trying to retrieve http://bugs.mantisbt.org/view_all_bug_page.php:

302 Found

Please make sure you have entered the URI correctly.

jlatour

jlatour

2004-08-07 09:10

reporter   ~0006755

OK, according to the documentation, PHP will send a 302 header by default if you send a Location header, so I'm removing it.