New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 867914 link

Starred by 0 users

Issue metadata

Status: Assigned
Owner:
Buried. Ping if important.
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Inner URL of "filesystem:file://host/path" is resolved to "file:///path".

Project Member Reported by yukishiino@chromium.org, Jul 26

Issue description

Like http: scheme, file: scheme supports "host" part.
See also:
https://en.wikipedia.org/wiki/File_URI_scheme
https://tools.ietf.org/html/draft-ietf-appsawg-file-scheme-03

So, given "filesystem:file://host/path" as URL, the inner URL should be resolved to "file://host/path", but actually it's resolved to "file:///path" and the host part is dropped.

See what the following code returns:
KURL("filesystem:file://host/path").InnerURL()->GetString()

 
Owner: tsepez@chromium.org
+tsepez@ as an owner of third_party/blink/renderer/platform/weborigin/kurl.h

Would you triage this issue?

FYI, SecurityOriginTest.ToTokenForFastCheck test in blink_platform_unittests exercises this behavior.

https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/weborigin/security_origin_test.cc?rcl=7a562dc7d12cc4b9f1edbd14ed2d8d94d3e09320&l=510

Components: -Blink Blink>Network
Cc: tsepez@chromium.org
Owner: mkwst@chromium.org
Mike, does file: as the inner URL of a filesystem: even make sense?  Maybe it should be just disallowed?
Status: Assigned (was: Untriaged)

Sign in to add a comment