Open
Bug 704769
Opened 14 years ago
Updated 3 years ago
Should not jump to URL that defined in form action
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
NEW
People
(Reporter: hidenosuke, Unassigned)
Details
Attachments
(1 file)
248 bytes,
text/html
|
Details |
In the case that URL in form action and a href are different Firefox jumps to URL in form action. It should jump to URL in a href.
Steps to reproduce:
1. Open the test case.
2. Point Firefox logo, and make sure URL in the bottom of the window. (In this case, http://mozilla.jp/firefox/)
3. Click Firefox log.
Actual result:
Firefox jumps to http://www.facebook.com/.
Expected result:
Firefox jumps to http://mozilla.jp/firefox/.
This is originally reported to http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=6803.
Comment 1•14 years ago
|
||
typo.
>3. Click Firefox log.
--> 3. Click Firefox logo.
Comment 2•14 years ago
|
||
(In reply to Hideo Oshima from comment #0)
> Created attachment 576421 [details]
> Simple test case
>
> In the case that URL in form action and a href are different Firefox jumps
> to URL in form action. It should jump to URL in a href.
Why?
Group: core-security
Updated•14 years ago
|
Attachment #576421 -
Attachment mime type: text/plain → text/html
Comment 3•14 years ago
|
||
I'm original reporter.
Sorry, this report is not enough to explain my message...
(I'm poor in English... so rely on Hideo Oshima to report.)
The follow is my story.
At first, mouse-cursor is pointed over the Firefox-logo, then displayed the link [http://mozilla.jp/firefox/] on the bottom of Firefox window.
But, click the logo --> Then, actually, jump to [http://www.facebook.com/].
(This may be called "faked link" ?)
Another Web-browsers act below --
Google Chrome 15
--> When mouse-over the logo, displayed the link [mozilla.jp/firefox/].
And, click and jumps to [mozilla.jp/firefox/]
Displayed link is match to jumped URL.
Internet Explorer 9
--> When mouse-over the logo, displayed the link [http://www.facebook.com/]
And, click and jumps to Facebook page.
Displayed link is match to jumped URL, too.
Only Firefox, Displayed link is NOT match to jumped URL.
![]() |
||
Comment 4•14 years ago
|
||
Sounds like we should do what IE does here, but that has nothing to do with form controls; it's a matter of the front-end UI.
That said, with a bit of script the page could prevent submission of the form, etc.. but the link might still get followed. So I don't think you can really win here.
Component: Layout: Form Controls → General
Product: Core → Firefox
QA Contact: layout.form-controls → general
Updated•14 years ago
|
Version: unspecified → Trunk
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•