aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/html-scanner/sanitizer_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Handle leading spaces in protocol while sanitizingManu2012-01-121-1/+8
|
* Tags with invalid names should also be stripped in order to preventAaron Patterson2011-08-161-0/+7
| | | | XSS attacks. Thanks Sascha Depold for the report.
* Test for stripping tags from a frozen string.Joshua Ballanco2011-04-141-0/+1
| | | | | | This test will pass under Ruby 1.8 but fail under Ruby 1.9 because of the change in behavior of gsub! w.r.t. frozen strings that do not match the pattern used [ruby-core:23664].
* ActionController::Base.helpers.sanitize ignores case in protocolTimothy N. Tsvetkov2010-12-301-0/+7
| | | | | | [#6044 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-17/+17
| | | | 's/[ \t]*$//' -i {} \;)
* Strip_tags never ending attribute should not raise a TypeError [#4870 ↵Bruno Michel2010-06-281-0/+4
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-311-2/+2
|
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-031-0/+273