nbs-system / naxsi-rules

185 stars 66 forks source link

is the drupal.rules incorrect? #30

Open zzhclare opened 8 years ago

zzhclare commented 8 years ago

BasicRule wl:1310,1311 "mz:$URL:/|$ARGS_VAR_X:^destination|NAME"; I find this sentence at line 33 in drupal.rules and I think it's totally opposite to the document. here is the warning in the document. mz:$ARGS_VAR_X:^foo$|$URL:/x or mz:$URL_X:/foo|$ARGS_VAR:x are wrong. By the way, I want to know whether all kinds of collocation of static and regex cannot show in matchzones? ie.

mz:$URL:/string|$BODY_VAR_X:^fields|NAME; mz:URL|$BODY_VAR_X:^fields|NAME; mz:URL|$BODY_VAR:string; mz:URL|$URL:string;

if all of them are wrong? I also want to know whether as long as an action matches the rules , it will be logged regardless of I setting the checkrule or not? another question..Is BasicRule "str:string" "mz:$URL_X:regex"; or BasicRule "rx:regex" "mz:$URL:/"; correct?