mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 20:11:17 +00:00
Allowed digits, '+', '-', and '.' in scheme names as per RFC 3986.
This commit is contained in:
parent
1ef7b1ef61
commit
c804eb7748
1 changed files with 5 additions and 0 deletions
|
|
@ -307,6 +307,11 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b)
|
|||
break;
|
||||
}
|
||||
|
||||
if ((ch >= '0' && ch <= '9') || ch == '+' || ch == '-' || ch == '.')
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
switch (ch) {
|
||||
case ':':
|
||||
r->schema_end = p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue