cvs: php-src(PHP_4_4) /ext/standard http_fopen_wrapper.c
| From: | Ilia Alshanetsky | Date: | Sun, 16 Apr 2006 17:45:55 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/standard http_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37822@lists.php.net to get a copy of this message | ||
iliaa Sun Apr 16 17:45:55 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/standard http_fopen_wrapper.c
Log:
MFH: fixed typo
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.53.2.20.2.8&r2=1.53.2.20.2.9&diff_format=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.53.2.20.2.8
php-src/ext/standard/http_fopen_wrapper.c:1.53.2.20.2.9
--- php-src/ext/standard/http_fopen_wrapper.c:1.53.2.20.2.8 Sun Apr 16 16:56:26 2006
+++ php-src/ext/standard/http_fopen_wrapper.c Sun Apr 16 17:45:55 2006
@@ -18,7 +18,7 @@
| Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.53.2.20.2.8 2006/04/16 16:56:26 iliaa Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.53.2.20.2.9 2006/04/16 17:45:55 iliaa Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -503,7 +503,7 @@
} \
} \
/* check for control characters in login, password & path */
- if (strncasecmp(newpath, "http://", sizeof("http://") - 1) || strncasecmp(newpath, "https://", sizeof("https://")
- 1) {
+ if (strncasecmp(new_path, "http://", sizeof("http://") - 1) || strncasecmp(new_path, "https://", sizeof("https://")
- 1)) {
CHECK_FOR_CNTRL_CHARS(resource->user)
CHECK_FOR_CNTRL_CHARS(resource->pass)
CHECK_FOR_CNTRL_CHARS(resource->path)