8000 Update send-payload-pls.sh by spartantri · Pull Request #2288 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update send-payload-pls.sh #2288

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 2 commits into from
Jan 10, 2022
Merged

Update send-payload-pls.sh #2288

merged 2 commits into from
Jan 10, 2022

Conversation

spartantri
Copy link
Contributor

Missing parameter in script instructions and the regex modified to allow - and _ characters on unique id field.

@dune73
Copy link
Member
dune73 commented Nov 29, 2021

Also changed the default unique-ID regex to a generic selector and not one bound to a specific log format. But that's OK, I think this default is better.

A wee bit uneasy about the order of characters in the enhanced regex character class, (-> prefix vs suffix), but that's probably only me.

@dune73
Copy link
Member
dune73 commented Nov 30, 2021

Results of a quick poll on the slack channel of the project: Strong preference for putting _ and - near the end of a regex.

@spartantri, would you mind reflecting that in your PR?

Moved _- towards the end of regex
@franbuehler
Copy link
Contributor

Meeting decision December: @dune73 will take this one.

@dune73
Copy link
Member
dune73 commented Jan 10, 2022

OK. Looks good. The script is really usable now. Thank you @spartantri

Can still be optimized and extended, maybe adding a sandbox option and what not. But good the way it is. Merging now.

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.

4 participants
0