Bug 284834
| Summary: | localhost should not be affected by "Warn before connecting to a website over HTTP" | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anthony Ricaud <rik> |
| Component: | New Bugs | Assignee: | Matthew Finkel <m_finkel> |
| Status: | NEW | ||
| Severity: | Normal | CC: | mohit.n, webkit-bug-importer, wilander |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=284559 | ||
Anthony Ricaud
Steps to reproduce:
1. Enable Warn before connecting to a website over HTTP
2. Launch a webserver (with `python -m http.server` as an exemple)
3. Type "localhost:8000" in the location bar
Actual result:
Safari displays the following error
Safari can't open the page "http://localhost:3000/". The error is: "Navigation failed because the request was for an HTTP URL with HTTPS-Only enabled" (WebKitErrorDomain:305)
Expected result:
I can visit the page
Extra notes:
- If my webserver displays an address such as "http://localhost:8000", right clicking > Open link will also be blocked
- If I manually type the full "http://localhost:8000" in the location bar, I can visit the page but I don't think that's a common thing to do
- As a web developer, this is too disruptive to my workflow so I disabled that setting
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
John Wilander
Thanks for filing!
Radar WebKit Bug Importer
<rdar://problem/141635296>
Alexey Proskuryakov
This is very very similar to bug 284559.