Module Innate::Helper::CGI
In: lib/innate/helper/cgi.rb

Methods

Public Instance methods

h(input)

safely escape all HTML and code

Shortcut for Rack::Utils.escape_html

@param [to_s] input @return [String]

Shortcut for CGI.unescapeHTML

@param [to_s] input @return [String]

u(input)

Alias for url_encode

Shortcut for Rack::Utils.unescape

@param [to_s] input @return [String] URI-decoded representation of input

Shortcut for Rack::Utils.escape

@param [to_s] input @return [String] URI-encoded representation of input

[Validate]