This project is archived and is in readonly mode.

Changeset [9c61eb32c534c706815f80eb375012cdcf854e71] by Michael Koziarski

August 31st, 2009 @ 08:20 PM

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/chars.rb

http://github.com/rails/rails/commit/9c61eb32c534c706815f80eb375012...

Committed by Michael Koziarski

  • A activesupport/lib/active_support/multibyte/utils.rb
  • A activesupport/test/multibyte_utils_test.rb
  • M activesupport/lib/active_support/multibyte.rb
  • M activesupport/lib/active_support/multibyte/chars.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>