diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-14 08:59:31 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-12-05 01:53:28 +0100 |
commit | c3255c4473dd3976361ac52899c504c7f70c4be9 (patch) | |
tree | 6e0071afd7dda52d4ec9f291ad23220aca4bb5e2 /src/NormalizeCaseInsensitiveString.hpp | |
parent | b74f8b6b0d0f080cff5f5ff78d88dc4d7d2165a1 (diff) |
Fix Uri::resolve for base URIs without authority
Previously
Uri::parse("foo").unwrap().resolve(&Uri::parse("bar").unwrap()).to_string()
resulted in "foo/bar".
According to RFC 3986 it should however result in "bar".
See https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.3.
Fixes #4.
Diffstat (limited to 'src/NormalizeCaseInsensitiveString.hpp')
0 files changed, 0 insertions, 0 deletions