diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index da33146de..818590f78 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -715,7 +715,7 @@ static char *decodeString(char *orig, int option_d) | |||
715 | } | 715 | } |
716 | value1 = value1 * 16 + value2; | 716 | value1 = value1 * 16 + value2; |
717 | if (!option_d && (value1 == '/' || value1 == '\0')) { | 717 | if (!option_d && (value1 == '/' || value1 == '\0')) { |
718 | /* caller takes it as indication of invalid | 718 | /* caller takes it as indication of invalid |
719 | * (dangerous wrt exploits) chars */ | 719 | * (dangerous wrt exploits) chars */ |
720 | return orig + 1; | 720 | return orig + 1; |
721 | } | 721 | } |
@@ -998,7 +998,7 @@ static int sendCgi(const char *url, | |||
998 | pid = fork(); | 998 | pid = fork(); |
999 | if (pid < 0) | 999 | if (pid < 0) |
1000 | return 0; | 1000 | return 0; |
1001 | 1001 | ||
1002 | if (!pid) { | 1002 | if (!pid) { |
1003 | /* child process */ | 1003 | /* child process */ |
1004 | char *script; | 1004 | char *script; |