Without the parens, the 2 first bits are reseted, instead of just the one for CONDFLAG_NOCASE.
This "bug" looks harmless as the first bit (CONDFLAG_NONE) is never tested.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1697735 13f79535-47bb-0310-9956-
ffa450edef68
"RewriteCond: NoCase option for non-regex pattern '%s' "
"is not supported and will be ignored. (%s:%d)", a2,
cmd->directive->filename, cmd->directive->line_num);
- newcond->flags &= ~CONDFLAG_NOCASE;
+ newcond->flags &= ~(CONDFLAG_NOCASE);
}
newcond->pskip = a2 - newcond->pattern;