Skip to content
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

nginx_baseline_check.sh 的requestMethodIfSet 永远是true #8

Open
1ness opened this issue May 22, 2020 · 0 comments
Open

nginx_baseline_check.sh 的requestMethodIfSet 永远是true #8

1ness opened this issue May 22, 2020 · 0 comments

Comments

@1ness
Copy link

1ness commented May 22, 2020

判断条件有问题:
if [[ "$row" =~ "$request_method".* ]]; then
requestMethodIfSet=true

$应该加个转义

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

No branches or pull requests

1 participant