Homec4science

Fixed XSS problems: now webmessage module correctly escapes HTML, permitting…

Authored by Gregory Favre <gregory.favre@cern.ch> on Nov 22 2006, 16:24.

Description

Fixed XSS problems: now webmessage module correctly escapes HTML, permitting use of some specific tags (e.g. links). Removed references to cgi.escape (now uses miscutil.htmlutils' escape_html function). Refactored code (unused imports, line lengths, etc.).

Event Timeline

Gregory Favre <gregory.favre@cern.ch> committed R3600:ba792db7c3ac: Fixed XSS problems: now webmessage module correctly escapes HTML, permitting… (authored by Gregory Favre <gregory.favre@cern.ch>).Nov 22 2006, 16:24