summaryrefslogtreecommitdiff
path: root/source4/web_server/http.c
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2005-07-12 08:17:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:11 -0500
commit91163c518ce035539d2e2cf7eb77d519a2fbe8d1 (patch)
tree1197dc1f4f42080fb077353d5521f586a83ea51f /source4/web_server/http.c
parent908a2e6cc17ba6fa83e8b9efc3069dbd1d7d5d22 (diff)
downloadsamba-91163c518ce035539d2e2cf7eb77d519a2fbe8d1.tar.gz
samba-91163c518ce035539d2e2cf7eb77d519a2fbe8d1.tar.bz2
samba-91163c518ce035539d2e2cf7eb77d519a2fbe8d1.zip
r8361: ctype is* macros needs unsigned arguments
(This used to be commit 07a7ab0a6af7224c4290043442a304baef656e94)
Diffstat (limited to 'source4/web_server/http.c')
-rw-r--r--source4/web_server/http.c2
1 files changed, 1 insertions, 1 deletions
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;
}