Skip to content

Increase the numerical limit for allowed values in set-cookie #3016

@peace2000

Description

@peace2000

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT an issue with YouTube, Facebook or Twitch.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

I propose increasing the numerical limit of set-cookie scriptlet.

I suggest the new limit to be 111.

Reasoning:

This page: https://launer.com/ uses values from 100 - 111 to define what cookie settings are accepted.
(It also uses value 000 to say that no cookies are accepted but that value is not reasonable for us anyway...)

A specific URL where the issue occurs.

https://launer.com/

Steps to Reproduce

  1. Add launer.com##+js(set-cookie, cookie_consent, 100) or launer.com##+js(trusted-set-cookie, cookie_consent, 111)

Expected behavior

Those values would be accepted by the scriptlet.

Actual behavior

They are not accepted.

uBO version

1.54.1b8

Browser name and version

FF 120.0.1

Operating System and version

Win 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions