git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
908a2e6
)
r8361: ctype is* macros needs unsigned arguments
author
Love Hörnquist Åstrand
<lha@samba.org>
Tue, 12 Jul 2005 08:17:34 +0000
(08:17 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:20:11 +0000
(13:20 -0500)
(This used to be commit
07a7ab0a6af7224c4290043442a304baef656e94
)
source4/web_server/http.c
patch
|
blob
|
history
diff --git
a/source4/web_server/http.c
b/source4/web_server/http.c
index 981457c535ca41fe2ad7b4c384c791108c1e72d2..decd744cc6d996e025949617a3c6193769e30326 100644
(file)
--- 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;
}