From 06dfcc679ff53bf5197cf56adfeaf2d6431b362b Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 13 Jul 2018 16:14:32 -0500 Subject: [PATCH] Update signature --- src/invidious/helpers.cr | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr index c430762f7..3129471b7 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