mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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;
|
||||
|
||||
if (deo) {
|
||||
add_blacklist_entry(deo->uri, SERVER_BLACKLIST_NO_CERT_VERIFY);
|
||||
if (deo->uri->hostlen) {
|
||||
add_blacklist_entry(deo->uri, SERVER_BLACKLIST_NO_CERT_VERIFY);
|
||||
}
|
||||
goto_uri(deo->ses, deo->uri);
|
||||
done_uri(deo->uri);
|
||||
mem_free(deo);
|
||||
|
Loading…
Reference in New Issue
Block a user