mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-03 08:07:17 -05:00
Add to blacklist only valid uri
This commit is contained in:
parent
a6799737f5
commit
affcebbab1
@ -275,7 +275,9 @@ retry_connection_without_verification(void *data)
|
|||||||
struct delayed_open *deo = (struct delayed_open *)data;
|
struct delayed_open *deo = (struct delayed_open *)data;
|
||||||
|
|
||||||
if (deo) {
|
if (deo) {
|
||||||
|
if (deo->uri->hostlen) {
|
||||||
add_blacklist_entry(deo->uri, SERVER_BLACKLIST_NO_CERT_VERIFY);
|
add_blacklist_entry(deo->uri, SERVER_BLACKLIST_NO_CERT_VERIFY);
|
||||||
|
}
|
||||||
goto_uri(deo->ses, deo->uri);
|
goto_uri(deo->ses, deo->uri);
|
||||||
done_uri(deo->uri);
|
done_uri(deo->uri);
|
||||||
mem_free(deo);
|
mem_free(deo);
|
||||||
|
Loading…
Reference in New Issue
Block a user