[wpt-sync] Sync PR 38685 - Escape ~ in hostname and TLD
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38685 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38685
Details from upstream follow.
Saksham Mittal <gotlouemail@gmail.com> wrote:
Escape ~ in hostname and TLD
While parsing URL, an extra if is added if the character is a tilde, and
the course of action taken is to treat it as escape characterThis allows https://goo~gle.com to be interpreted as URL which should
help Chrome mimic Safari behaviour (which does the same thing).However, the same cannot be said for goo~gle.com
Bug: 1398117
Change-Id: I172bc60fe650bcc2ed3b8cccc828fb75c53c694c
Reviewed-on: https://chromium-review.googlesource.com/4199790
WPT-Export-Revision: 2521f3cc9dd8265beaa3e62cb787bc076883dfe8
| Assignee | ||
Updated•2 years ago
|
Description
•