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

BasicRule wl:0 "mz:$BODY_VAR:channelid"; Why not manifest #485

Closed
linkimfly opened this issue Dec 2, 2019 · 4 comments
Closed

BasicRule wl:0 "mz:$BODY_VAR:channelid"; Why not manifest #485

linkimfly opened this issue Dec 2, 2019 · 4 comments

Comments

@linkimfly
Copy link

BasicRule

BasicRule wl:0 "mz:$BODY_VAR:channelid";

Set the post name equal to channelid, pass all the rules but it has no effect, it is still blocked

BasicRule

BasicRule wl:0 "mz:$URL_X:(^.*?article_edit.*$)|URL";

Similarly, I match a certain URL and then pass all the rules. Does not take effect

What is the correct rule?

@linkimfly
Copy link
Author

@buixor Ask God to help me

@linkimfly
Copy link
Author

My environment:
Centos6.9
Nginx 1.16.1

@buixor
Copy link
Contributor

buixor commented Jan 8, 2020

BasicRule wl:0 "mz:$BODY_VAR:channelid"; It will whitelist rules, but only in the channelId post variable, is it what you meant ?

@linkimfly
Copy link
Author

Yes, there is a parameter name = channelid in my post request, I want to let Naxsi pass and not intercept requests with parameter name = channelid

@mremande mremande closed this as completed Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants