mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Update documentation for Rack::Protection::EscapedParams
Remove mention of `html_safe`
This commit is contained in:
parent
bc8d0c8f1a
commit
eba3698226
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ module Rack
|
|||
# More infos:: http://en.wikipedia.org/wiki/Cross-site_scripting
|
||||
#
|
||||
# Automatically escapes Rack::Request#params so they can be embedded in HTML
|
||||
# or JavaScript without any further issues. Calls +html_safe+ on the escaped
|
||||
# strings if defined, to avoid double-escaping in Rails.
|
||||
# or JavaScript without any further issues.
|
||||
#
|
||||
# Options:
|
||||
# escape:: What escaping modes to use, should be Symbol or Array of Symbols.
|
||||
|
|
Loading…
Reference in a new issue