diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-11-18 18:32:41 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-11-18 18:32:41 +0100 |
commit | f3103cc4b6c369da96c7de487214a9e56eca755d (patch) | |
tree | 4c12f9d8ea33a5ad3a7098545fd159e3238f40fc /src/nav.h | |
parent | 318d1f14e699e8dd38b73fbe2f8da1c0586ccab7 (diff) |
Always include the path "/" in HTTP requests
Following https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.1,
the path must not be empty, even if we have a query:
> If the target URI's path component is empty, the client MUST send "/"
> as the path within the origin-form of request-target.
Notice URIs can have empty paths, this is a restriction of HTTP only.
Fixes: https://github.com/dillo-browser/dillo/issues/302
Diffstat (limited to 'src/nav.h')
0 files changed, 0 insertions, 0 deletions