Closed
Bug 73818
Opened 24 years ago
Closed 20 years ago
[FIXr]<BASE HREF="foo"> doesn't apply to forms
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.8beta4
People
(Reporter: brentdax1, Assigned: bzbarsky)
Details
(Keywords: fixed1.8)
Attachments
(1 file)
1.24 KB,
patch
|
mrbkap
:
review+
jst
:
superreview+
asa
:
approval1.8b4+
|
Details | Diff | Splinter Review |
When submitting a form, the HREF parameter of the BASE tag is ignored. This is
a problem on some CGI, where they use PATH_INFO to tell them what to do.
PATH_INFO can become weird because of this. I'm not sure what the HTML spec
says is the proper thing to do, but both Internet Explorer and Opera seem to
honor the BASE tag in form submissions.
![]() |
Assignee | |
Comment 1•24 years ago
|
||
worksforme, linux build 2001-03-28-08. The BASE HREF is taken into account.
Could you point to a URL or testcase where this fails?
Comment 2•24 years ago
|
||
Marking WORKSFORME due to inability to reproduce and lack of testcase. Reopen
when/if this reoccurs.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Comment 3•24 years ago
|
||
verifying, tried to test PATH_INFO for a page with <BASE href="someaddress"> and
on all browsers PATH_INFO didnt show anything...
Status: RESOLVED → VERIFIED
Comment 4•20 years ago
|
||
how to reproduce: use invalid html!
(this "bug" works on all OSes; somebody who can please change that)
it seems to be an overall gecko bug:
Firefox 0.9.3/Win
Netscape 7.1/Win
FF1.0.3/debian
Epiphany 1.6.4/debian
base href ignored
IE 6/Win
Opera 7.11/Win
Konqueror 3.3.2/debian
works fine
on a BB someone replied it worked for him with Firefox 1.0.6
----
I set up a demo page for everybody to verify - and it worked fine there!
So I digged further into this and found out
the error occurs
- with text before the opening <html> tag
AND
- the form tag placed between <table><tr> (see source at attached location)
repair one of these irregulations in your code, and all will work well!
http://www.ebiz-consult.de/_bugzilla/subdir/outpost.php
![]() |
Assignee | |
Comment 5•20 years ago
|
||
Reopening.
Status: VERIFIED → UNCONFIRMED
Resolution: WORKSFORME → ---
![]() |
Assignee | |
Comment 6•20 years ago
|
||
Attachment #192715 -
Flags: superreview?(jst)
Attachment #192715 -
Flags: review?(mrbkap)
![]() |
Assignee | |
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•20 years ago
|
||
Comment on attachment 192715 [details] [diff] [review]
Proposed patch
r=me
Attachment #192715 -
Flags: review?(mrbkap) → review+
Comment 8•20 years ago
|
||
Comment on attachment 192715 [details] [diff] [review]
Proposed patch
sr=jst
Attachment #192715 -
Flags: superreview?(jst) → superreview+
![]() |
Assignee | |
Comment 9•20 years ago
|
||
Comment on attachment 192715 [details] [diff] [review]
Proposed patch
I think this is worth doing for 1.8. Very safe fix.
Attachment #192715 -
Flags: approval1.8b4?
![]() |
Assignee | |
Updated•20 years ago
|
Assignee: rods → bzbarsky
OS: Windows 2000 → All
Priority: -- → P2
Hardware: PC → All
Summary: <BASE HREF="foo"> doesn't apply to forms → [FIXr]<BASE HREF="foo"> doesn't apply to forms
Target Milestone: --- → mozilla1.8beta4
Updated•20 years ago
|
Attachment #192715 -
Flags: approval1.8b4? → approval1.8b4+
![]() |
Assignee | |
Comment 10•20 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 24 years ago → 20 years ago
Resolution: --- → FIXED
Comment 11•19 years ago
|
||
Verifying fixed for mac Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
rv:1.8b4) Gecko/20050908 Firefox/1.4
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•