Releases: brianmario/escape_utils
Releases · brianmario/escape_utils
1.0.0
0.3.2
- fix rbx compatibility
- add EscapeUtils.html_safe_string_class
- add EscapeUtils.escape_html_as_html_safe
0.3.1
- fixed compilation on Windows
0.3.0
- add xml escaping support
- in Ruby 1.9 - escape_utils now requires the input string be UTF-8
- update upstream houdini to pull in some speed optimizations
- a couple of other perf tweaks
- switched to minitest
0.2.4
- swap out custom escaping routines for houdini - https://github.com/tanoku/houdini
- add RSTRING_NOT_MODIFIED define for a Rubinius speedup
0.2.3
- change encoding strategy to simply return strings in the encoding the input string was in, not taking into account Encoding.default_internal
0.2.2
- minor fix for Rubinius compatibility
0.2.1
- fix buffer over read in unescape_url and unescape_uri
0.2.0
- fixed a couple of compilation warnings on 1.9.3
- moved to rspec2
- remove hard-conversion to utf-8 to preserve the string's original encoding
- moved to rake-compiler, Bundler
- pass through incompletely escaped data on unescaping
- added tilde to escape_{uri,url}specs (It's a difference between CGI.escape and URI.escape)
- escape_uri and escape_url now match their Ruby counterparts
- escape_uri is used where URI.escape is, and escape_url is used where CGI.escape is used.
- performance and memory usage optimizations
0.1.9
- add a flag as an optional 2nd parameter to EscapeUtils.escape_html to disable/enable the escaping of the '/' character. Defaults to the new flag EscapeUtils.html_secure