hhucn / webvulnscan

automated web application vulnerability scanner
MIT License
38 stars 27 forks source link

Do not warn about an unclosed local tag for empty elements #64

Closed phihag closed 10 years ago

phihag commented 10 years ago

Some elements (for example br are supposed to be empty, or are often empty. HTML authors often use the short HTML for <br> instead of the correct XHTML <br/>. webvulnscan should not warn when it encounters one of these elements, but silently fix the (X)HTML.