Mercurial > hg > nginx-quic
view docs/xml/change_log_conf.xml @ 8251:8989fbd2f89a
Fixed parsing of absolute URIs with empty path (ticket #2079).
When the request line contains request-target in the absolute-URI form,
it can contain path-empty instead of a single slash (see RFC 7230, RFC 3986).
Previously, the ngx_http_parse_request_line() function only accepted empty
path when there was no query string.
With this change, non-empty query is also correctly handled. That is,
request line "GET http://example.com?foo HTTP/1.1" is accepted and results
in $uri "/" and $args "foo".
Note that $request_uri remains "?foo", similarly to how spaces in URIs
are handled. Providing "/?foo", similarly to how "/" is provided for
"GET http://example.com HTTP/1.1", requires allocation.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 10 Dec 2020 20:09:30 +0300 |
parents | 76bc29f06168 |
children |
line wrap: on
line source
<?xml version="1.0" ?> <!DOCTYPE configuration SYSTEM "../dtd/change_log_conf.dtd" > <configuration> <length>76</length> <start> *) </start> <indent> </indent> <changes lang="ru"> <title>Изменения в </title> <length>66</length> <bugfix>Исправление</bugfix> <feature>Добавление</feature> <change>Изменение</change> <security>Безопасность</security> <workaround>Изменение</workaround> </changes> <changes lang="en"> <title>Changes with </title> <length>65</length> <bugfix>Bugfix</bugfix> <feature>Feature</feature> <change>Change</change> <security>Security</security> <workaround>Workaround</workaround> <month> Jan </month> <month> Feb </month> <month> Mar </month> <month> Apr </month> <month> May </month> <month> Jun </month> <month> Jul </month> <month> Aug </month> <month> Sep </month> <month> Oct </month> <month> Nov </month> <month> Dec </month> </changes> </configuration>