You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
374 B
10 lines
374 B
--- a/session.c
|
|
+++ b/session.c
|
|
@@ -2495,6 +2495,7 @@
|
|
unsigned char *proto = get_protocol_name(rq->url);
|
|
int ret = 0;
|
|
if (!proto) return 0;
|
|
+ if (a->accept_http && !casestrcmp(proto, cast_uchar "https")) ret = 1;
|
|
if (a->accept_http && !casestrcmp(proto, cast_uchar "http")) ret = 1;
|
|
if (a->accept_ftp && !casestrcmp(proto, cast_uchar "ftp")) ret = 1;
|
|
mem_free(proto);
|
|
|