diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-26 14:30:55 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-26 14:31:02 +0200 |
commit | 41a06564d12be6888e0b9e7dee6b809169e5c42e (patch) | |
tree | 7557e5701e50b73d8a57cc37f4f6d0145196a17c /src/gmrequest.c | |
parent | a4190dd0a5aaedb2fef1e14518a1d7d3c6448b1a (diff) |
Don't apply MIME hooks on downloaded files
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 9cdd627e..f4d770ab 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -494,6 +494,10 @@ void deinit_GmRequest(iGmRequest *d) { | |||
494 | delete_Mutex(d->mtx); | 494 | delete_Mutex(d->mtx); |
495 | } | 495 | } |
496 | 496 | ||
497 | void enableFilters_GmRequest(iGmRequest *d, iBool enable) { | ||
498 | d->isFilterEnabled = enable; | ||
499 | } | ||
500 | |||
497 | void setUrl_GmRequest(iGmRequest *d, const iString *url) { | 501 | void setUrl_GmRequest(iGmRequest *d, const iString *url) { |
498 | set_String(&d->url, urlFragmentStripped_String(url)); | 502 | set_String(&d->url, urlFragmentStripped_String(url)); |
499 | /* Encode hostname to Punycode here because we want to submit the Punycode domain name | 503 | /* Encode hostname to Punycode here because we want to submit the Punycode domain name |