Closed Bug 295442 Opened 19 years ago Closed 19 years ago

404 answer is makes blank page

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: kepes.krisztian, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

I show the mail I send to the Zope's list.
Possible this is not bug. But I don't understand, why it is working with IE, and
why not with Mozilla/Opera.
The problem is tested in PHP, and in Zope too.

The mail is:

---------------------------

Hi !

My contributor have a problem.

His problem is very interesting, but it is in php.

I try to help, but I get same problem in Zope.

The problem is that:
He have a site, and he is paranoid. He is not use static pages to avoid
penetrations.
So: in a dynamic page he is check the request. If parameters are wrong, he is
want to set the resp. header status to 404.
(This is a file downloader method, and if the file is invalid, he want to answer
404 - page not found.)
He is not want to set location to a static 404 error page (because he is want to
"protect" the orig. URL).

When he is send header with php to Mozilla, or Opera, these browsers are showing
blank page.
IE is showing good page (404).

Then I try to write this example in Zope, to help it:
# test2.py #
request = container.REQUEST
resp=RESPONSE =  request.RESPONSE
resp.setStatus(404)

When I try this, I get same result in Zope (/test2).

So: what is the problem ?
And what is the solution ?

Thanx for help:
   ft 

---------------------------

Sorry, if it is not bug, but I don't know how know that.

Reproducible: Always
testcase / URL ?
I would guess the generated error page really is empty and IE just shows its
"friendly error" instead of the real (empty) error page. You can try to disable
this feature in IE to test this:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807
Yes, that is !
Sorry for disturbing !

(In reply to comment #2)
> I would guess the generated error page really is empty and IE just shows its
> "friendly error" instead of the real (empty) error page. You can try to disable
> this feature in IE to test this:
> 
> http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807


Looks like the problem was elsewhere.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.