mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
AK: Correctly set host when parsing URL with a base file:// host
We were completely missing this spec step here. Also leave a FIXME for the pre-existing implementation of this step, as this doesn't match the spec.
This commit is contained in:
committed by
Andreas Kling
parent
791ad12031
commit
bfdf7779ce
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/bfdf7779ce Pull-request: https://github.com/SerenityOS/serenity/pull/21119 Reviewed-by: https://github.com/kemzeb
@@ -26,6 +26,7 @@
|
||||
{ input: 'http://[1:1:0:0:1:0:0:0]/' },
|
||||
{ input: 'unknown://serenityos.org:0' },
|
||||
{ input: 'http://serenityos.org/cat?dog#meow"woof' },
|
||||
{ input: '/hello', base: 'file://friends/' },
|
||||
]) {
|
||||
printURL(url.input, url.base);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user