microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
8.02k stars 1.66k forks source link

make Uri.is_host_loopback() only return true for localhost and 127.0.0.1 exactly #1782

Closed barcharcraz closed 12 months ago

barcharcraz commented 12 months ago

This makes it impossible to find a URI that cpprestsdk says is loopback and the OS doesn't (unless your resolver settings are very misconfigured. This mostly mirrors what .net does.