[Webkit-unassigned] [Bug 160504] New: Localhost subdomains don't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 3 06:21:29 PDT 2016


            Bug ID: 160504
           Summary: Localhost subdomains don't work
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: djeffery at gmail.com
                CC: beidson at apple.com

Localhost subdomains (i.e. 'http://mysite.localhost') don't work in Safari. They work ok in all other web browsers (Chrome, Firefox, Opera etc..).
I am not sure if this is a Safari/OS X issue or a webkit issue, feel free to close this bug report if that is the case.

Steps to Reproduce:
1. Start up a local server that responds to the host header of 'mysite.localhost' on port 8000 (any port is fine)
2. Try to access the site in safari using the url: http://mysite.localhost:8000/

Expected Results:
Every other web browser (Chrome, Firefox, Opera etc..) that I have tested will find the server and load the page as expected. Localhost subdomains don't seem to be mentioned in any official spec but the fact that they work in every other browser means that people use them for real-world development.

Actual Results:
Safari gives the error "Can't find server"

Tested on OS X 10.10 and OS X 10.11 with Safari 9.1.2.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160803/81002650/attachment.html>

More information about the webkit-unassigned mailing list