[Webkit-unassigned] [Bug 212749] New: Submitting form in iframe corrupts href attribute in <a>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 4 07:15:30 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212749
Bug ID: 212749
Summary: Submitting form in iframe corrupts href attribute in
<a>
Product: WebKit
Version: Safari 13
Hardware: Macintosh
OS: iOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: Frames
Assignee: webkit-unassigned at lists.webkit.org
Reporter: alib at dasburo.com
Webkit Version: r262530
Steps to reproduce:
- Open example on https://jsbin.com/yiwiwagoge
- Navigate to the bottom of the form
- Click on the link "Datenschutzhinweise"
- Observe that it opens a new page
- Go back to the form
- Send the form (click on "Absenden")
- Check the "Datenschutzhinweise" link in the DOM and observe that the href attribute is now empty
Expected behaviour:
- The href attribute should not be empty, it should reference the same page as before sending the form
Notes:
- I could only observe this behaviour on Safari. I also tried Firefox and Chrome.
- The behaviour only occurs when the form is embedded in an iframe. If the form is opened outside without an iframe it works as expected.
The notes above lead me to the conclusion that this must be an issue related to Webkit. If our product (the form code) was faulty it would show the same behaviour outside the iframe. And since it works with the other two browsers, it can also not be caused by a security/sandboxing feature related to the use of iframes.
Best regards,
Ali Baykal
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200604/894f108c/attachment-0001.htm>
More information about the webkit-unassigned
mailing list