enygma / expose

An Intrusion Detection System library loosely based on PHP IDS
MIT License
266 stars 55 forks source link

Extra backslash in filter rules #48

Closed sps-superlogica closed 8 years ago

sps-superlogica commented 8 years ago

The regexs pulled from PHPIDS have the forward slashes ("/") escaped with a backslash. This is not necessary in PHP strings, and is creating an extra backslash in the expose regex string.

For example: "\/" in the PHPIDS regex has been escaped to "\/" instead of "\/".

sps-superlogica commented 8 years ago

Just realized its JSON and not PHP string. My apologies.