Class CGI
In: lib/more/facets/cgi.rb
Parent: Object

CGI Extensions

Methods

External Aliases

escapeHTML -> escape_html
unescapeHTML -> unescape_html
escapeElement -> escape_element
unescapeElement -> unescape_element

Public Instance methods

Return an html "safe" version of the string, where every &, < and > are replaced with appropriate entities.

Calls esc, and then further replaces carriage returns and quote characters with entities.

Create an hidden input field through which an object can can be marshalled. This makes it very easy to pass from data between requests.

Create an hidden input field through which an object can can be marshalled. This makes it very easy to pass from data betwenn requests.

[Validate]