projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a2577d5
)
allow underscores in methods
author
Michael Wallner
<mike@php.net>
Tue, 21 Feb 2012 10:05:52 +0000
(10:05 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 21 Feb 2012 10:05:52 +0000
(10:05 +0000)
Fixes bug #59974 methodRegister doesn't allow "_" to be in method name
http_request_method_api.c
patch
|
blob
|
history
diff --git
a/http_request_method_api.c
b/http_request_method_api.c
index 5be28c17add665c621eac813d2e7fccc323bf1dd..2f99a9152259ccef5032d15ab2513b7a4e729216 100644
(file)
--- a/
http_request_method_api.c
+++ b/
http_request_method_api.c
@@
-214,7
+214,8
@@
static STATUS _http_request_method_cncl_ex(const char *method_name, int method_n
for (i = 0; i < method_name_len; ++i) {
switch (method_name[i]) {
case '-':
- cncl[i] = '-';
+ case '_':
+ cncl[i] = method_name[i];
break;
default: