projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix regression introduced with http\Params::PARSE_RFC5987
[m6w6/ext-http]
/
src
/
php_http_negotiate.c
diff --git
a/src/php_http_negotiate.c
b/src/php_http_negotiate.c
index a74875b7378647664a1fe35a63b72c8f17995d79..3907501e420a13878e3a6777f0dbba88bf6ff381 100644
(file)
--- a/
src/php_http_negotiate.c
+++ b/
src/php_http_negotiate.c
@@
-115,6
+115,7
@@
HashTable *php_http_negotiate(const char *value_str, size_t value_len, HashTable
php_http_params_opts_default_get(&opts);
opts.input.str = estrndup(value_str, value_len);
opts.input.len = value_len;
+ opts.flags &= ~PHP_HTTP_PARAMS_RFC5987;
php_http_params_parse(¶ms, &opts TSRMLS_CC);
efree(opts.input.str);