Closed
Bug 213099
Opened 21 years ago
Closed 20 years ago
can't view page source for pages which are the result of a form submission withour resubmitting form
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 166786
People
(Reporter: sparky, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 If you submit a form using Mozilla, then try to view the source of the resultant page, you are prompted with "The page you are trying to view contains POSTDATA that has expired from the cache. If you resend the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the datam, click OK. Otherwise, click Cancel." There are two problems here: (1) If you click "Cancel" you see no page source - why can't Mozilla just show you the source of the page which is currently being displayed? You can go back and forward within the browser (away from this page and back to it without reloading) so clearly the page is not really gone from a cache... (2) If you click "OK" to resubmit the form, but the form is in a password protected area of a site (using cookie-based login) the "hit" which tries to "resubmit the page" does so without the authentication cookie, so all I keep getting is the source for the "Login Form" that I get redirected to by the server. Reproducible: Always Steps to Reproduce: 1. submit a form somewhere on the web 2. try to view the source of the resultant page 3. click "cancel" and you don't see the source of the current page, you see nothing 4. click "OK" and if you're in a password protected area (using cookie based login) you will see the source for the login page to which you are redirected by the server Actual Results: Either no source or the source of a login form, but no way to get the source of the page you actually want - this is baffling considering the browser clearly has access to that source such that it can show you the web page. Expected Results: When someone wants to see the source of a page, show them the source of the page they are looking at currently, within the window / tab that is selected.
Comment 1•21 years ago
|
||
Possible dup of bug 166786
Comment 2•21 years ago
|
||
> 1. submit a form somewhere on the web
> 2. try to view the source of the resultant page
These steps work for me. Please point me to a specific page that fails for you?
If you can go back to the page in history, you should be able to view its
source -- the exact same code is used.
I think it has to do with the "has expired from the cache" bit. I got this when I ordered something on an online store and then wanted to save the receipt page for my records, and couldn't, because the File->Save failed and View Source failed because the cache had expired. (I can't offer a URL for obvious reasons.) This could be easily fixed by simply switching it so that View Source never attempts to re-fetch the page. Re-fetching causes all sorts of other errors anyway, and there is furthermore no reason at all to re-fetch the page to begin with. (After all, the person wants the source of the page he's currently viewing, and there is no reason to re-fetch that as Mozilla already has it.)
Comment 4•21 years ago
|
||
M.Paugh: not sure what you are talking about. view source is not supposed to re-load the page. check your cache settings.
Reporter | ||
Comment 5•21 years ago
|
||
if you try to view the source of a page which is the result of a form submission, the form is submitted a second time to fetch the page source despite a cache setting of "when the page is out of date" - i would select another cache setting but the other options are not really options: "every time i view the page", "once per session" and "never" - none of which would improve my mozilla browsing experience.
Comment 6•20 years ago
|
||
*** This bug has been marked as a duplicate of 166786 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•