version 0.0.3
[fms.git] / src / freenet / captcha / simplecaptcha.cpp
index c030bca..2d4a4ae 100644 (file)
@@ -56,7 +56,8 @@ void SimpleCaptcha::Generate()
 \r
 const std::string SimpleCaptcha::GenerateRandomString(const int len)\r
 {\r
-       static std::string chars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";\r
+       // no l,1 O,0 because they look too much alike\r
+       static std::string chars="abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ23456789";\r
        std::string temp="";\r
        for(int i=0; i<len; i++)\r
        {\r