Closed Bug 302190 Opened 20 years ago Closed 20 years ago

XHTML forms are not cached in the same way that HTML forms are.

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jtate, Unassigned)

Details

Attachments

(1 file)

369 bytes, application/xhtml+xml
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050618 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050618 Firefox/1.0.4 An XML based form, when filled, does not cache the values on a refresh (Ctl-R not Ctl-Shift-R) or on a back operation from another page as an HTML form will. It appears that the Content-Types text/xml and application/xhtml+xml do not go down the form value caching path that text/html forms do. As XHTMl becomes more and more prevalent this will cause more and more problems. I should note that konqueror caches xhtml form data as one would expect. Reproducible: Always Steps to Reproduce: 1. Copy the soon to be attached index.xhtml file to your DocumentRoot 2. Load index.xhtml into a browser 3. Add some data to either of the two text input fields 4. Hit the refresh button Actual Results: The form data was cleared. Expected Results: The form data should have remained intact. Ctl-Shift-R should be used to "reset" a form. I plan on reproducing with Firefox 1.0.6 as soon as I am able. I will provide results here.
Attached file Simple XHTML form
Here is the promised xhtml form.
This problem still occurs in version 1.0.6.
Version: unspecified → 1.0 Branch
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050726 Firefox/1.0+ ID:2005072612 Works for me. The code used in 1.0.x is almost 16 months old; you need to be able to reproduce this in the latest builds for it to be valid. http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
The bug also occurs in Mozilla 1.7. You are correct Adam. This bug does not occur in Deer Park. Any chance for a back port?
(In reply to comment #4) > Any chance for a back port? Nope. Only security fixes are checked into the aviary branch.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: