]> granicus.if.org Git - php/commitdiff
url->URL
authorHannes Magnusson <bjori@php.net>
Thu, 29 Jun 2006 14:40:49 +0000 (14:40 +0000)
committerHannes Magnusson <bjori@php.net>
Thu, 29 Jun 2006 14:40:49 +0000 (14:40 +0000)
ext/standard/http_fopen_wrapper.c
main/streams/memory.c

index 146b9e51b5d9177267dcab7d943f43b5ab01e52a..4b955acbba0ec88f3b500e4cc1110889ae0288fc 100644 (file)
@@ -619,7 +619,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
                        php_url_free(resource);
                        /* check for invalid redirection URLs */
                        if ((resource = php_url_parse(new_path)) == NULL) {
-                               php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect url! %s", new_path);
+                               php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect URL! %s", new_path);
                                goto out;
                        }
 
@@ -631,7 +631,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
                s = val; e = s + l;     \
                while (s < e) { \
                        if (iscntrl(*s)) {      \
-                               php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect url! %s", new_path); \
+                               php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect URL! %s", new_path); \
                                goto out;       \
                        }       \
                        s++;    \
index 0fcc165730be7a8a391b921803fe11520c35175f..0f57ad9886c93f7206111d12e0b415765ba3efc5 100644 (file)
@@ -584,7 +584,7 @@ static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, cha
        }
 
        if ((comma = memchr(path, ',', dlen)) == NULL) {
-               php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: no comma in url");
+               php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: no comma in URL");
                return NULL;
        }
 
@@ -645,7 +645,7 @@ static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, cha
                }
                if (mlen) {
                        zval_ptr_dtor(&meta);
-                       php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: illegal url");
+                       php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: illegal URL");
                        return NULL;
                }
        } else {