From: John Crispin Date: Tue, 20 Oct 2015 18:12:24 +0000 (+0200) Subject: fix the alias support X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=618315bc0729c3064e06af2900a86211354f81c9;p=oweals%2Fuhttpd.git fix the alias support the path compare return code was not honoured properly Signed-off-by: John Crispin --- diff --git a/file.c b/file.c index 6b5020f..009acbd 100644 --- a/file.c +++ b/file.c @@ -828,7 +828,7 @@ static char *uh_handle_alias(char *old_url) int new_len; int path_len = 0; - if (uh_path_match(alias->alias, old_url)) + if (!uh_path_match(alias->alias, old_url)) continue; if (alias->path)