Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Discussion: securecookie tags #13762

Description

@jeremyn

Type: other

I want to revisit how we use securecookie tags. I generally dislike these tags. They are hard to reason about, and the most common use with a general .+/.+ can break website functionality. See my comments at #7527 (comment) and #11475 (comment).

I think securecookies should rarely be used. From my comment at #2907 (comment):

  1. securecookie tags should only be used in targeted situations where we are trying to fix a identified vulnerability, instead of used as a default catch-all, but
  2. we don't need to make special efforts to remove existing securecookies, and
  3. casual contributors should not be encouraged to create them.

The underlying theme here is that I prefer to be cautious in rulesets, because it is generally difficult for a regular user to effectively report problems and get them fixed.

However, I've noticed an increase in the number of PRs that include securecookies. I sometimes avoid these PRs because I don't want to have the securecookie argument again. However if the community generally feels that we should be more free with securecookies then I will stop worrying about it as much.

Ping @brainwane @gloomy-ghost @Hainish @J0WI @wonderchook .

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions