From 91163c518ce035539d2e2cf7eb77d519a2fbe8d1 Mon Sep 17 00:00:00 2001 From: Love Hörnquist Åstrand Date: Tue, 12 Jul 2005 08:17:34 +0000 Subject: r8361: ctype is* macros needs unsigned arguments (This used to be commit 07a7ab0a6af7224c4290043442a304baef656e94) --- source4/web_server/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/web_server/http.c') diff --git a/source4/web_server/http.c b/source4/web_server/http.c index 981457c535..decd744cc6 100644 --- a/source4/web_server/http.c +++ b/source4/web_server/http.c @@ -122,7 +122,7 @@ static const char *http_local_path(struct websrv_context *web, const char *url) if (url[0] != '/') return NULL; for (i=0;url[i];i++) { - if ((!isalnum(url[i]) && !strchr("./_", url[i])) || + if ((!isalnum((unsigned char)url[i]) && !strchr("./_", url[i])) || (url[i] == '.' && strchr("/.", url[i+1]))) { return NULL; } -- cgit