diff options
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 2402cc40..fe026a5b 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -262,7 +262,8 @@ static void requestFinished_GmRequest_(iGmRequest *d, iTlsRequest *req) { | |||
262 | checkServerCertificate_GmRequest_(d); | 262 | checkServerCertificate_GmRequest_(d); |
263 | unlock_Mutex(d->mtx); | 263 | unlock_Mutex(d->mtx); |
264 | /* Check for mimehooks. */ | 264 | /* Check for mimehooks. */ |
265 | if (d->isRespFiltered && d->state == finished_GmRequestState) { | 265 | if (d->isRespFiltered && d->state == finished_GmRequestState) { |
266 | setenv("REQUEST_URL", cstr_String(&d->url), 1); | ||
266 | iBlock *xbody = tryFilter_MimeHooks(mimeHooks_App(), &d->resp->meta, &d->resp->body); | 267 | iBlock *xbody = tryFilter_MimeHooks(mimeHooks_App(), &d->resp->meta, &d->resp->body); |
267 | if (xbody) { | 268 | if (xbody) { |
268 | lock_Mutex(d->mtx); | 269 | lock_Mutex(d->mtx); |