diff options
| author | Hannes Magnusson <bjori@php.net> | 2006-06-29 14:31:56 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2006-06-29 14:31:56 +0000 |
| commit | bcd06ef1b6999977b58c4869ff1383a162aab286 (patch) | |
| tree | 7ededd1266dd67776f37c2f3a9638e00355e7dba /ext | |
| parent | b8f97db5802f841462446d6fff2812b59754f7d8 (diff) | |
| download | php-git-bcd06ef1b6999977b58c4869ff1383a162aab286.tar.gz | |
Bug #37961 (url should be URL)
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/curl/interface.c | 4 | ||||
| -rw-r--r-- | ext/standard/url.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 04a6263249..1ce0e36a77 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -163,12 +163,12 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC); php_url *tmp_url; \ \ if (!(tmp_url = php_url_parse_ex(str, len))) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid url '%s'", str); \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid URL '%s'", str); \ RETURN_FALSE; \ } \ \ if (php_memnstr(str, tmp_url->path, strlen(tmp_url->path), str + len)) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Url '%s' contains unencoded control characters.", str); \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL '%s' contains unencoded control characters.", str); \ RETURN_FALSE; \ } \ \ diff --git a/ext/standard/url.c b/ext/standard/url.c index 5087f21133..e842e3dbe1 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -344,7 +344,7 @@ PHP_FUNCTION(parse_url) resource = php_url_parse_ex(str, str_len); if (resource == NULL) { - php_error_docref1(NULL TSRMLS_CC, str, E_WARNING, "Unable to parse url"); + php_error_docref1(NULL TSRMLS_CC, str, E_WARNING, "Unable to parse URL"); RETURN_FALSE; } @@ -375,7 +375,7 @@ PHP_FUNCTION(parse_url) if (resource->fragment != NULL) RETVAL_STRING(resource->fragment, 1); break; default: - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid url component identifier %ld.", key); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid URL component identifier %ld.", key); RETVAL_FALSE; } goto done; |
