don't parse trailing slash as part of encryption key in old hashes
parent
9bbd3161ca
commit
a9b670fdf5
|
@ -55,7 +55,7 @@ Version 1
|
|||
if (hash.slice(0,1) !== '/' && hash.length >= 56) {
|
||||
// Old hash
|
||||
parsed.channel = hash.slice(0, 32);
|
||||
parsed.key = hash.slice(32);
|
||||
parsed.key = hash.slice(32, 56);
|
||||
parsed.version = 0;
|
||||
return parsed;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue