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

Remove middle wildcard support in rules.js #17715

Merged
merged 7 commits into from
Apr 16, 2019
Merged

Remove middle wildcard support in rules.js #17715

merged 7 commits into from
Apr 16, 2019

Conversation

cschanaj
Copy link
Collaborator

@cschanaj cschanaj commented Apr 12, 2019

This replaces #17669 to drop support for middle wildcards in the runtime. hopefully #17711

@cschanaj cschanaj closed this Apr 12, 2019
@cschanaj cschanaj reopened this Apr 12, 2019
@pipboy96
Copy link
Contributor

@cschanaj Can you add a test case that checks if middle wildcard causes error and gets ignored as it's supposed to?

@pipboy96
Copy link
Contributor

This may not necessarily work, since some rulesets depend on *.example.com also matching a.b.example.com.

Copy link
Member

@Hainish Hainish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks good, thanks!

chromium/background-scripts/rules.js Outdated Show resolved Hide resolved
chromium/test/rules_test.js Outdated Show resolved Hide resolved
chromium/test/rules_test.js Outdated Show resolved Hide resolved
chromium/test/rules_test.js Outdated Show resolved Hide resolved
chromium/test/rules_test.js Outdated Show resolved Hide resolved
chromium/test/rules_test.js Outdated Show resolved Hide resolved
Copy link
Contributor

@zoracon zoracon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See that the changes asked were made, merging in. Thank you for spending time on this

@zoracon zoracon merged commit 7bc1255 into EFForg:master Apr 16, 2019
@cschanaj cschanaj deleted the remove-middle-wildcard-support-1 branch April 16, 2019 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants