[Webkit-unassigned] [Bug 284834] New: localhost should not be affected by "Warn before connecting to a website over HTTP"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 17 11:36:56 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=284834

            Bug ID: 284834
           Summary: localhost should not be affected by "Warn before
                    connecting to a website over HTTP"
           Product: WebKit
           Version: Safari 18
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rik at webkit.org
                CC: wilander at apple.com

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

-- 
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/20241217/c78afb98/attachment.htm>


More information about the webkit-unassigned mailing list