Skip to content

Scriptlet arguments starting with a quote are treated as invalid #398

@antonok-edm

Description

@antonok-edm

The following rule is treated as invalid by adblock-rust because it looks like the first argument is quoted, but there is no matching end quote:

example.com##+js(scriptlet-name, "test"!==undefined, 1)

However, uBO considers it valid and parses the arguments as "test"!==undefined and 1.

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