Overview
Comment: | Fixed call to wrong function for finding end of HTTP path |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 773268af3c51598d9ffc97dcb0e8ee598da4477a |
User & Date: | rkeene on 2014-02-18 03:45:11 |
Other Links: | manifest | tags |
Context
2014-02-18
| ||
03:47 | Added vhost support check-in: 3298334221 user: rkeene tags: trunk | |
03:45 | Fixed call to wrong function for finding end of HTTP path check-in: 773268af3c user: rkeene tags: trunk | |
2014-02-12
| ||
19:19 | Updated to terminate malformed requests without newlines check-in: b16389c222 user: rkeene tags: trunk | |
Changes
Modified filed.c from [4e1ed3be61] to [91c2968a74].
658 658 659 659 *buffer = '\0'; 660 660 buffer++; 661 661 662 662 path = buffer; 663 663 664 664 /* Terminate path component */ 665 - buffer = strstr(buffer, "\r\n "); 665 + buffer = strpbrk(buffer, "\r\n "); 666 666 if (buffer != NULL) { 667 667 *buffer = '\0'; 668 668 buffer++; 669 669 } 670 670 671 671 /* We only handle the "GET" and "HEAD' methods */ 672 672 if (strcasecmp(method, "head") != 0) {