WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
284834
localhost should not be affected by "Warn before connecting to a website over HTTP"
https://bugs.webkit.org/show_bug.cgi?id=284834
Summary
localhost should not be affected by "Warn before connecting to a website over...
Anthony Ricaud
Reported
2024-12-17 11:36:56 PST
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
Comment 1
2024-12-17 13:02:46 PST
Thanks for filing!
Radar WebKit Bug Importer
Comment 2
2024-12-17 13:02:56 PST
<
rdar://problem/141635296
>
Alexey Proskuryakov
Comment 3
2024-12-17 13:23:37 PST
This is very very similar to
bug 284559
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug