Skip to content
Commit cb8c9199 authored by Bastien Nocera's avatar Bastien Nocera Committed by Philip Withnall
Browse files

simpleproxyresolver: Don't crash on invalid hostname

Check for g_hostname_to_ascii() failure, rather than crashing when
checking whether an invalid hostname should go through the proxy.

The HTTP library should report the error about the invalid hostname
once we actually try to connect to it.

https://bugzilla.gnome.org/show_bug.cgi?id=772989
parent 1a991548
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment