Commit Graph

8 Commits

Author SHA1 Message Date
Vo Minh Thu ae4852f597 [IMP] html_sanitize: remove dependency on pyquery.
Relying on pyquery is unnecessary (using etree alone is enough). This patch
reimplements the html_sanitize() function without pyquery. The new
implementation still goes through the provided test suite with success.

bzr revid: vmt@openerp.com-20120816104540-9374llhzde54h2vz
2012-08-16 12:45:40 +02:00
niv-openerp 63ae87fb4c Fixed encoding problems
bzr revid: nicolas.vanhoren@openerp.com-20120814121425-jq3ieebbsa7rcds5
2012-08-14 14:14:25 +02:00
niv-openerp f111a51f10 Fixed problem when message is false (i think)
bzr revid: nicolas.vanhoren@openerp.com-20120814094401-uv548xbylkfq8bun
2012-08-14 11:44:01 +02:00
niv-openerp dc170d1a9a Added protection against javascript in <a>
bzr revid: nicolas.vanhoren@openerp.com-20120813155205-uohwb39ejn66bgmv
2012-08-13 17:52:05 +02:00
niv-openerp 8dfa86afd9 removed images
bzr revid: nicolas.vanhoren@openerp.com-20120813144401-cll0enjblqkh8ina
2012-08-13 16:44:01 +02:00
niv-openerp 10155376c4 Did better stuff
bzr revid: nicolas.vanhoren@openerp.com-20120813143755-g9ccs0iubcwvm02i
2012-08-13 16:37:55 +02:00
niv-openerp e5fb45a329 First working version of the html sanitizer
bzr revid: nicolas.vanhoren@openerp.com-20120813142232-xn7h0ov7mb3pls4o
2012-08-13 16:22:32 +02:00
niv-openerp 11780a2267 Added some code to sanitize html
bzr revid: nicolas.vanhoren@openerp.com-20120813125307-d8cycdvtd7ad0f8e
2012-08-13 14:53:07 +02:00