do not use the only two special characters in Helpers.base64

If automatically generated names contains * and ?, they might do
something strange when being looked up. There was no real issue with our
current tests, but I just want to avoid the issue.
This commit is contained in:
Roland 2011-12-05 18:23:49 +01:00
parent 3c06992d2e
commit d2cffe7e33

View file

@ -29,7 +29,7 @@ object Helpers {
def compare(a: AnyRef, b: AnyRef): Int = compareIdentityHash(a, b)
}
final val base64chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789*?"
final val base64chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+%"
@tailrec
def base64(l: Long, sb: StringBuilder = new StringBuilder("$")): String = {