anchors in form action URLs are not followed

VERIFIED INVALID

Status

()

Toolkit
Form Manager
VERIFIED INVALID
13 years ago
10 years ago

People

(Reporter: david nicol, Assigned: Ben Goodger (use ben at mozilla dot org for email))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
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.
(Reporter)

Comment 1

13 years ago
it seems I was prefixing the anchor names with # (which oddly, works in IE)
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED

Comment 2

13 years ago
In that case the report is INVALID and the bug was not FIXED.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---

Updated

13 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago13 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.