diff options
author | Michael Koziarski <michael@koziarski.com> | 2009-08-31 12:16:22 -0700 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-09-04 09:25:38 +1200 |
commit | 9a73630d935e360f3dc896e50dd673afb97cf3b5 (patch) | |
tree | e404f7dbfc142a10b45b758f0cea23812abc9f23 /activeresource/lib/activeresource.rb | |
parent | 5e6dab8b34152bc48c89032d20e5bda1511e28fb (diff) | |
download | rails-9a73630d935e360f3dc896e50dd673afb97cf3b5.tar.gz rails-9a73630d935e360f3dc896e50dd673afb97cf3b5.tar.bz2 rails-9a73630d935e360f3dc896e50dd673afb97cf3b5.zip |
Add verify and clean methods to ActiveSupport::Multibyte.
When accepting character input from outside of your application you can't
blindly trust that all strings are properly encoded. With these methods
you can check incoming strings and clean them up if necessary.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Conflicts:
activesupport/lib/active_support/multibyte.rb
Diffstat (limited to 'activeresource/lib/activeresource.rb')
0 files changed, 0 insertions, 0 deletions