jkingsman / bishop

Hunt for vulnerable websites as you browse.
MIT License
129 stars 33 forks source link

Display escaped '\n' instead of actual newline in rules table #24

Open gsingh93 opened 8 years ago

gsingh93 commented 8 years ago

I was confused on why a rule was giving a false positive, so I checked options_demo.js and found the actual rule was Index(.|\n)*modified instead of Index(.| )*modified, but the rules table was displaying the latter. There's an actual newline in the HTML, which gets rendered as a space. This should be rendered as '\n' instead.