summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-07-13 16:14:32 -0500
committerOmar Roth <omarroth@hotmail.com>2018-07-13 16:14:32 -0500
commit06dfcc679ff53bf5197cf56adfeaf2d6431b362b (patch)
treecb3f09f43e014c2356b4fbbac666d0ed19f9b308
parentc56a94553320b165276779c99553ee2c1bc19e31 (diff)
downloadinvidious-06dfcc679ff53bf5197cf56adfeaf2d6431b362b.tar.gz
invidious-06dfcc679ff53bf5197cf56adfeaf2d6431b362b.tar.bz2
invidious-06dfcc679ff53bf5197cf56adfeaf2d6431b362b.zip
Update signature
-rw-r--r--src/invidious/helpers.cr6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr
index c430762f..3129471b 100644
--- a/src/invidious/helpers.cr
+++ b/src/invidious/helpers.cr
@@ -300,11 +300,9 @@ end
def decrypt_signature(a)
a = a.split("")
- a = splice(a, 24)
+ a = splice(a, 1)
a.reverse!
- a = splice(a, 51)
- a.reverse!
- a = splice(a, 60)
+ a.delete_at(0..0)
return a.join("")
end