Skip to content

Implementation differences with "Strip URL for use in reports" #735

Open
@evilpie

Description

@evilpie

At least Chrome and Firefox don't match the current specification of 5.4. Strip URL for use in reports. I haven't tested Safari.

Both browser treat ws(s): scheme like http(s): and return the whole URL (without fragment etc. of course). I guess I can see how both of these types of scheme are pretty similar, so this doesn't seem all that controversial to me.

The bigger difference is in regards to URLs used for reports generated by blocking frame-src and object-src navigations. To avoid leaking the whole URL when blocking (or reporting!) cross-origin navigations inside a frame, both browsers restrict the URLs to just the origin.

https://issues.chromium.org/issues/40084987
https://bugzilla.mozilla.org/show_bug.cgi?id=1790345

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions