8000 Cleaned up quoting in tests for 920120 by theseion · Pull Request #2370 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cleaned up quoting in tests for 920120 #2370

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

Conversation

theseion
Copy link
Contributor
@theseion theseion commented Feb 5, 2022

Related to #2360

This is PR 2 of 4 that replace #2360.

@theseion theseion requested review from fzipi and fgsch February 5, 2022 09:05
@theseion theseion marked this pull request as ready for review February 5, 2022 09:05
@airween
Copy link
Contributor
airween commented Feb 5, 2022

Why is important to escape the Accept header? I don't see the reason in the mentioned issue.

Btw, it's a good idea to add escape to all header, but then we should add to all header :)

@theseion
Copy link
Contributor Author
theseion commented Feb 5, 2022

By "escape" do you mean "quote"? I think it's a good idea because there can be arbitrary characters in there, especially *, which marks an anchor in YAML.

But TBH, I just wanted the quoting to be consistent (some Accept and User-Agent headers were quoted after @fzipi's change, and some weren't).

I can update this PR to quote all headers. @fzipi @fgsch?

@airween
Copy link
Contributor
airween commented Feb 5, 2022

By "escape" do you mean "quote"? I think it's a good idea because there can be arbitrary characters in there, especially *, which marks an anchor in YAML.

sorry, yes - I thought quote, not escape :).

Thanks!

@theseion theseion force-pushed the remove-negative-look-behind-clean-up-tests-for-920120 branch from 261b863 to f8e36e8 Compare February 5, 2022 13:11
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.

LGTM.

@fzipi fzipi merged commit 463b1bb into coreruleset:v3.4/dev Feb 7, 2022
@theseion theseion deleted the remove-negative-look-behind-clean-up-tests-for-920120 branch February 7, 2022 17:52
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.

3 participants
0