Skip to content

Capability URL problem bigger than advertized #155

Closed

Description

@annevk

Given that quite often capability URLs are origin + path I think https://w3c.github.io/reporting/#capability-urls needs improving. It's rather seldom that capabilities are stored in username/password/fragment. While good that they are stripped, selling that as solving the problem (apart from body) is not good.

Activity

  1. dcreager commented on May 14, 2019

    @dcreager
    Member

    You're right that stripping username/password from the URL isn't enough! The analogous section in the NEL spec (last paragraph of §9) instead says that if you're encoding permissions in URL paths, you should run your own collectors and not upload reports to third parties. Would you consider that language sufficient?

  2. annevk commented on May 14, 2019

    @annevk
    MemberAuthor

    Yeah, that seems more reasonable. In particular whatever we say should work for GitHub's gists and Flickr (at least I remember that using these, not sure if that's still the case).

  3. added a commit that references this issue on Feb 17, 2021
    e3a229d
  4. clelland commented on Feb 17, 2021

    @clelland
    Contributor

    I've taken another stab at the wording here, trying to include:

    • what this spec does -- strip explicit credentials and fragments from the report's URL;
    • what extensions should do -- strip similar information from any URLs defined in the body;
    • and what sites deploying reporting need to be aware of -- that sensitive information in URL paths is not stripped, and that if they use such URLs, they may need to also deploy their own collectors.

    I've also referenced the TAGs findings directly.

  5. added a commit that references this issue on Feb 24, 2021
    2bd9d5a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    report-deliveryCovers the core delivery of reports via HTTP

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions