Sha256: 92199a60a1c920fb44f47afa80806267c9af7acbcbb6956ffc9fd1ee6137dfb2

Contents?: true

Size: 1.93 KB

Versions: 1

Compression:

Stored size: 1.93 KB

Contents

# Changelog

## 0.2.2 (February 25th, 2011)
* minor fix for Rubinius compatibility

## 0.2.1 (February 21st, 2011)
* fix buffer over read in unescape_url and unescape_uri

## 0.2.0 (February 8th, 2011)
* 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 (October 15th, 2010)
* 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

## 0.1.8 (September 29th, 2010)
* fix URI escaping one last time ;)

## 0.1.7 (September 29th, 2010)
* fix URI escaping to act according to the RFC
* add specs for URL escaping

## 0.1.6 (September 6th, 2010)
* support for URI escaping added (thanks to @joshbuddy)
* bugfix to ensure we don't drop opening tags during escape_javascript (thanks to @nagybence)

## 0.1.5 (July 13th, 2010)
* add URL escaping and unescaping
* major refactor of HTML and Javascript escaping and unescaping logic for a decent speed up
* HTML escaping now takes html_safe? into account (for Rails/ActiveSupport users) - thanks yury!

## 0.1.4 (June 9th, 2010)
* ensure strings are passed in from monkey-patches

## 0.1.3 (June 9th, 2010)
* cleaned some code up, removing duplication
* moved to a more flexible character encoding scheme using Encoding.defaut_internal for 1.9 users

## 0.1.2 (June 8th, 2010)
* forgot to add the ActionView monkey patch for JS escaping ;)

## 0.1.1 (June 8th, 2010)
* added javascript escaping

## 0.1.0 (June 8th, 2010)
* initial release

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
escape_utils-0.2.2 CHANGELOG.md