Skip to content

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

Merged
barcharcraz merged 1 commit intomasterfrom
fix_uri_parsing
Dec 5, 2023
Merged

make Uri.is_host_loopback() only return true for localhost and 127.0.0.1 exactly#1782
barcharcraz merged 1 commit intomasterfrom
fix_uri_parsing

Conversation

@barcharcraz
Copy link
Copy Markdown

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.

@barcharcraz barcharcraz merged commit 096a9a1 into master Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant