From 13e1f9f8c74c74fe1a1f2cf54ede782524e7beff Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 17 Dec 2011 15:07:01 +0100 Subject: reduce special characters. Various apps, especially php-apps :/ have a problem with '<' or '>' as a password character. To reduce the amount of pain from a freshly generated password, we remove these characters. --- lib/trocla/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/trocla/util.rb') diff --git a/lib/trocla/util.rb b/lib/trocla/util.rb index 5bca8f1..3461bb2 100644 --- a/lib/trocla/util.rb +++ b/lib/trocla/util.rb @@ -17,7 +17,7 @@ class Trocla @normal_chars ||= ('a'..'z').to_a + ('A'..'Z').to_a + ('0'..'9').to_a end def special_chars - @special_chars ||= "+*%/()@&=?![]{}-_.,;:<>".split(//) + @special_chars ||= "+*%/()@&=?![]{}-_.,;:".split(//) end end end -- cgit v1.2.3