Classy web-development dressed in a DSL (official / canonical repo)
Go to file
Ryan Tomayko 327c6ece36 Fix that built-in error message response not HTML escaped.
Stack traces and Object#inspect output lots of less-than signs
that need escaping.

There's probably a better way to do this. My first iteration called
CGI::escapeHTML and then I noticed that Rack includes a nice Utils module with
various escaping methods so I figured that would be a better fit for Sinatra.
Unfortunately, these methods don't seem to be exposed anywhere (that I could
find) so I extended the Rack::Utils module with itself so that messages could be
sent directly to the module.
2008-03-08 07:21:43 -05:00
images * Default error messages 2007-11-29 18:35:06 -08:00
lib Fix that built-in error message response not HTML escaped. 2008-03-08 07:21:43 -05:00
test making better use of Rack::Request 2008-03-04 16:45:19 -08:00
.gitignore more ignores 2008-02-20 20:14:53 -08:00
Rakefile No more Error codes. Map them by Class name 2008-02-24 16:43:39 -08:00