I know that a lot of VPN users have it as a homepage to their browser, that is why I wanted to publish this warning.

You can replace it with:

  • Victor@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    23 days ago

    Oookay, I guess it detects the user agent and only sends the IP number when it detects curl. Using xh did not work as intended.

    • forestbeasts@pawb.social
      link
      fedilink
      arrow-up
      2
      ·
      23 days ago

      Huh. Is it going by user-agent or something? Weird.

      Our own tiny one goes by the Accept header. If xh sets that to text/html you’ll get an HTML webpage though.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        23 days ago

        Some sites go by that, some go by user agent. I believe xh can fake it’s user agent, if I’m not mistaken.

        A good compromise would be to go by known user agents, but also heed the accept header. 👍