Skip to content

Releases: brianmario/escape_utils

1.0.0

29 Oct 22:22
Compare
Choose a tag to compare
  • fix for Ruby 2.1+
  • drop 1.8 support - we now require ruby 1.9.3+

0.3.2

29 Oct 22:19
Compare
Choose a tag to compare
  • fix rbx compatibility
  • add EscapeUtils.html_safe_string_class
  • add EscapeUtils.escape_html_as_html_safe

0.3.1

29 Oct 22:19
Compare
Choose a tag to compare
  • fixed compilation on Windows

0.3.0

29 Oct 22:19
Compare
Choose a tag to compare
  • 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

29 Oct 22:18
Compare
Choose a tag to compare

0.2.3

29 Oct 22:18
Compare
Choose a tag to compare
  • 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

29 Oct 22:18
Compare
Choose a tag to compare
  • minor fix for Rubinius compatibility

0.2.1

29 Oct 22:18
Compare
Choose a tag to compare
  • fix buffer over read in unescape_url and unescape_uri

0.2.0

29 Oct 22:17
Compare
Choose a tag to compare
  • 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

29 Oct 22:17
Compare
Choose a tag to compare
  • 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