• @Justfo
    link
    3
    edit-2
    4 years ago

    It’s an unintended side-effect.

    And it should be fixed in the browsers; but it’s hard to do in a backwards-compatible way.

    Because some sites have legitimate reasons to connect to localhost, e.g. when they work through an additional demon installed there.

    Perhaps an explicit permission in browsers for localhost / local network addresses (per-site) would make more sense.

    • @AgreeableLandscape
      link
      24 years ago

      but it’s hard to do in a backwards-compatible way.

      One idea I have is to have the browser ask for permission from the user, and just return null, undefined or some other way of representing the lack of data if the user doesn’t allow it.