aboutsummaryrefslogtreecommitdiff
path: root/src/Uri.cpp
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-14 08:59:31 +0100
committerMartin Fischer <martin@push-f.com>2021-12-05 01:53:28 +0100
commitc3255c4473dd3976361ac52899c504c7f70c4be9 (patch)
tree6e0071afd7dda52d4ec9f291ad23220aca4bb5e2 /src/Uri.cpp
parentb74f8b6b0d0f080cff5f5ff78d88dc4d7d2165a1 (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/Uri.cpp')
0 files changed, 0 insertions, 0 deletions