fix a potential bug in Ox.decodeBase32
This commit is contained in:
parent
9d26a4b6c3
commit
3fa59712c8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ Ox.decodeBase32 = function(string) {
|
|||
var index = Ox.BASE_32_DIGITS.indexOf(
|
||||
Ox.BASE_32_ALIASES[char] || char
|
||||
);
|
||||
return (index == -1 ? ' ' : index).toString(32);
|
||||
return index == -1 ? ' ' : index.toString(32);
|
||||
}), 32);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue