8000 fix(test): update user-agent across all tests (#3136) by theseion · Pull Request #3137 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(test): update user-agent across all tests (#3136) #3137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

theseion
Copy link
Contributor

In order to add the new rule that checks for RCE in User-Agent and Referer headers, we need to update the default user agent string in all test cases to avoid triggering that rule for each test

This commit fixes missed tests

@theseion theseion requested a review from fzipi February 22, 2023 21:10
@theseion theseion force-pushed the update-remaining-uas branch from ea523f0 to 48732ef Compare February 22, 2023 21:16
In order to add the new rule that checks for RCE in `User-Agent`
and `Referer` headers, we need to update the default user agent string
in all test cases to avoid triggering that rule for each test

This commit fixes missed tests
@fzipi
Copy link
Member
fzipi commented Feb 22, 2023

@theseion I think you need to rebase this one, right?

@theseion
Copy link
Contributor Author

I don't think so... why?

@theseion
Copy link
Contributor Author

You only replaced quoted occurrences of the UA header. This commit replaces the unquoted instances.

@theseion theseion requested a review from dune73 February 23, 2023 19:18
@theseion
Copy link
Contributor Author

I need to merge this one too @fzipi.

Copy link
Member
@fzipi fzipi left a comment

Choose a reason for hiding this comment

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

OfC, all good.

@theseion theseion merged commit 0d05a56 into coreruleset:v4.0/dev Feb 23, 2023
@theseion theseion deleted the update-remaining-uas branch February 23, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0