Если кто использует squidGuard, как мы, обратите внимание.
Стало много протекать ссылок с множественными слэшами, типа такой http://ist5-1.filesor.com//pimpandhost.com//1//_//_//_//1//6//E//C//S//6ECSn//Kevin.jpg
Оказалось в squidGuarde баг, вот патч
--- squidGuard-1.5/src/sgDiv.c 2009-09-27 23:41:50.000000000 +0400
+++ squidGuard-1.5.fix/src/sgDiv.c 2020-04-23 18:43:25.718945563 +0300
@@ -142,7 +142,8 @@
* then shift the rest of the string left one char */
if('/' == p[ndx] && '/' == p[ndx+1]) {
size_t sz = strlen(p+ndx+1);
- strncpy(p+ndx,p+ndx+1, sz);
+ //strncpy(p+ndx,p+ndx+1, sz);
+ memmove(p+ndx,p+ndx+1, sz);
p[ndx+sz] = '\0';
if(1 == report_once) {
sgLogWarn("WARN: Possible bypass attempt. Found multiple slashes where only one is expected: %s", s->orig);