projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- add missing constants to HttpDeflateStream
[m6w6/ext-http]
/
http_url_api.c
diff --git
a/http_url_api.c
b/http_url_api.c
index 53faf9506f5417440570c2053df5e9c139011258..2fde306a74154dee0f3ecdedb6b2fd08967b80ea 100644
(file)
--- a/
http_url_api.c
+++ b/
http_url_api.c
@@
-37,6
+37,8
@@
PHP_HTTP_API char *_http_absolute_url(const char *url TSRMLS_DC)
if (purl) {
http_build_url(purl, NULL, NULL, &abs, NULL);
php_url_free(purl);
+ } else {
+ http_error_ex(HE_WARNING, HTTP_E_URL, "Could not parse URL (%s)", url);
}
return abs;