This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+9
View File
@@ -76,3 +76,12 @@ test('URN Resolving', (t) => {
t.equal(fastURI.resolve('urn:some:other:prop', 'urn:some:ip:prop'), 'urn:some:ip:prop', 'urn:some:ip:prop')
t.end()
})
test('URI Resolving tolerates malformed fragments', (t) => {
t.equal(
fastURI.resolve('http://base.com/', 'http://example.com/#%E0%A4A'),
'http://example.com/#%E0%A4A',
'malformed fragment does not throw during resolve'
)
t.end()
})