Not sure what version of the plugin I have (latest available from Gnome as of this writing). When the extension is configured to live in the drop down menu and display the public IP, I connected my laptop to my local Starbucks. Starbucks has a soft web blocker that requires you to accept the terms and conditions before you can use the net. So the plugin receives this text data and displays the RAW html instead of the actual IP address.
Solution is probably to validate the reply text to ensure its actually an IPv4 or v6 address since I imagine you can't rely on the HTTP status to give you what you want/need. Or do the check over HTTPS and it will fail when behind a soft-wall.
Not sure what version of the plugin I have (latest available from Gnome as of this writing). When the extension is configured to live in the drop down menu and display the public IP, I connected my laptop to my local Starbucks. Starbucks has a soft web blocker that requires you to accept the terms and conditions before you can use the net. So the plugin receives this text data and displays the RAW html instead of the actual IP address.
Solution is probably to validate the reply text to ensure its actually an IPv4 or v6 address since I imagine you can't rely on the HTTP status to give you what you want/need. Or do the check over HTTPS and it will fail when behind a soft-wall.
Here is what it looks like: