aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/http/http_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/http/http_util.c')
-rw-r--r--src/libserver/http/http_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/http/http_util.c b/src/libserver/http/http_util.c
index f9e5b3e77..ec9d9fa58 100644
--- a/src/libserver/http/http_util.c
+++ b/src/libserver/http/http_util.c
@@ -512,9 +512,11 @@ rspamd_http_normalize_path_inplace (gchar *path, guint len, guint *nlen)
*o++ = '/';
break;
default:
+#if 0
if (o > path + 1 && *(o - 1) == '/') {
o --;
}
+#endif
break;
}