We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06bb01e commit 685401dCopy full SHA for 685401d
1 file changed
libclamav/scanners.c
@@ -2484,15 +2484,9 @@ static bool is_url(const char *const str)
2484
bool bRet = false;
2485
size_t i;
2486
2487
-#if 0
2488
- MATCH(str, "https://");
2489
- MATCH(str, "http://");
2490
- MATCH(str, "ftp://");
2491
-#else
2492
for (i = 0; i < sizeof(URI_LIST) / sizeof(URI_LIST[0]); i++) {
2493
MATCH(str, URI_LIST[i]);
2494
}
2495
-#endif
2496
done:
2497
return bRet;
2498
#undef MATCH
0 commit comments