Skip to content

noproxy: guard against empty hostnames in noproxy check#10057

Closed
danielgustafsson wants to merge 1 commit intocurl:masterfrom
danielgustafsson:dg-noproxy_buffer
Closed

noproxy: guard against empty hostnames in noproxy check#10057
danielgustafsson wants to merge 1 commit intocurl:masterfrom
danielgustafsson:dg-noproxy_buffer

Conversation

@danielgustafsson
Copy link
Member

When checking for a noproxy setting we need to ensure that we get a hostname passed in. If there is no hostname then there cannot be a matching noproxy rule for it by definition.

A larger, independent of this patch, body of work is to ensure that we don't check for proxy information at all on protocols where it doesn't make sense.

When checking for a noproxy setting we need to ensure that we get
a hostname passed in. If there is no hostname then there cannot be
a matching noproxy rule for it by definition.

Closes: #xxxx
Reported-by: Geeknik Labs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants