aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/sanitize_helper/sanitizers.rb
Commit message (Expand)AuthorAgeFilesLines
* Now only requiring Loofah in the places where it is needed.Timm2014-06-161-0/+2
* Now returning html if html is blank? in FullSanitizer and WhiteListSanitizer....Timm2014-06-161-1/+3
* Stylistic improvements. Some light documentation for remove_xpaths.Timm2014-06-161-6/+8
* Simplified the removal of xpaths in remove_xpaths. Added more tests for remov...Timm2014-06-161-1/+1
* Changed: remove_xpaths called with String returns String, while called with L...Timm2014-06-161-2/+2
* Already killed off LinkScrubber. Changed it instead to be TargetScrubber, whi...Timm2014-06-161-1/+2
* Added LinkScrubber to remove duplication in LinkSanitizer. As such made Permi...Timm2014-06-161-10/+2
* Changed FullSanitizer sanitize to use tap method instead of temporary variable.Timm2014-06-161-3/+3
* Extracted the common xpaths to remove into XPATHS_TO_REMOVE.Timm2014-06-161-2/+4
* Refactored remove_xpaths to use duck typing and read better.Timm2014-06-161-4/+5
* Changed explanation for no duck typing of custom scrubbers.Timm2014-06-161-1/+2
* Marked the private API as not needing code documentation.Timm2014-06-151-0/+1
* Added ability to pass a custom scrubber to sanitize. Includes test coverage.Timm2014-06-151-1/+3
* Moved requiring of Loofah from sanitizers.rb to action_view.rb.Timm2014-06-151-1/+0
* Added ActionView::Sanitizer and moved remove_xpaths to there.Timm2014-06-151-7/+0
* Added comment removal. Changed definitation of remove_xpaths to not use a spl...Timm2014-06-151-11/+24
* Extracted the xpath removals into some new API that allows users to remove xp...Timm2014-06-151-2/+8
* Added removal of script tags to WhiteListSanitizer.Timm2014-06-151-0/+1
* Added guard clauses to FullSanitizer.Timm2014-06-151-1/+6
* bad_tags include form since we remove it. Also to prevent a should_allow_form...Timm2014-06-151-1/+1
* Removed the contains_bad_protocols? method as well as the tests for it. Loofa...Timm2014-06-151-8/+2
* Reordered form removal with stripping.Timm2014-06-151-4/+7
* Added PermitScrubber which allows you to permit elements for sanitization.Timm2014-06-151-13/+14
* Removed duplication in the deprecated methods.Timm2014-06-151-5/+5
* Added Loofah as a dependency in actionview.gemspec.Timm2014-06-111-0/+116