Closed Bug 287278 Opened 19 years ago Closed 19 years ago

anchors in form action URLs are not followed

Categories

(Toolkit :: Form Manager, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: davidnicol, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1


when a form action has an anchor, such as
<form method="POST" action="http://www.davidnicol.com/rcgi/bugzample#BizStru">
the anchor should be followed, but in Mozilla, the result page always starts at
the top.

Reproducible: Always

Steps to Reproduce:
1. create a form that uses an anchored URL in its action
2. submit the form, expecting to not have to scroll to where the anchor is
3. stay at top of form result page

Actual Results:  
after form submission the browser was at the top of the page rather than
navigating to the anchor point.

Expected Results:  
the section starting with the named anchor should have been at the top.

if there's an /easy/ workaround (not involving javascript or frames)
I would like to know it.  I have created the
http://www.davidnicol.com/rcgi/bugzample remotely hosted cgi to demonstrate
the problem.  IE will go to the anchored section on form submit.  This is a rare
case where IE appears to be doing something right that Moz is not doing and
I worry that if this becomes widely known, people will be encouraged to
write forms that have anchors in their action URLs just to sabotage the lizard.
it seems I was prefixing the anchor names with # (which oddly, works in IE)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
In that case the report is INVALID and the bug was not FIXED.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.