Fix url parsing with trailing slash

Refs: #1545
This commit is contained in:
eikek
2022-07-07 11:31:36 +02:00
parent e9cb3d2b42
commit 2c9e012c96
5 changed files with 22 additions and 12 deletions

View File

@ -24,7 +24,8 @@ object FileUrlReader {
scheme = Nel.of(scheme),
authority = Some(""),
path = LenientUri.NonEmptyPath(
Nel.of(key.collective.id, key.category.id.id, key.id.id)
Nel.of(key.collective.id, key.category.id.id, key.id.id),
false
),
query = None,
fragment = None