Skip to content
Commit 5c566e43 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

httpproxy: Fix invalid request on invalid hostnames

When an invalid hostname is passed for connection, the
g_hostname_to_ascii() might fail when creating the request in
create_request(). Make sure that error is caught and reported rather
than passing "(null)" as the hostname of the site we want to connect to.

https://bugzilla.gnome.org/show_bug.cgi?id=772989
parent 9b3cb447
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