Closed Bug 138534 Opened 22 years ago Closed 22 years ago

View source does not reflect what is currently seen with POST CGIs

Categories

(Core Graveyard :: View Source, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 55583

People

(Reporter: alan, Assigned: doronr)

Details

This is a similar bug to Bug 99692

When a user selects view source for a page, it looks like the page is
re-requested from the server, no doubt to reflect what is actually on the page,
not what the browser is displaying.  

This works fine except that when you are viewing a page created via a post to
CGI, the browser almost seems like it does a re-request to the page before
displaying the source.

----------
Testcase: 
http://personals.ufies.org/search.html
set 'i am a' to 'man looking for woman', age to '21-25', and country to be
'canada' (ensures that there are only a few matches :)
On the page that says 'You have X matches', click View->Page Source.

You will see in the view source page that there is the message "I'm sorry, there
was an error processing  your search. ...", which is not present on the "real"
page.  
----------

This behaviour is probably desired in some cases, but for anyone doing any sort
of debugging with CGIs, mozilla is unusable :(  I have to start netscape 4.x to
be able to correctly see code created with a CGI via POST.  

It doesn't seem to affect normal CGI pages, as if you go to
http://ufies.org/iambe/comment.cgi?pid=apr1902 (a page created via cgi) it's
source is rendered perfectly.
This is fixed in current builds... please upgrade.  :)  (this was also the
most-commonly-reported bug until last week).

*** This bug has been marked as a duplicate of 55583 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.