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:
parent
3c06992d2e
commit
d2cffe7e33
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue