https://github.com/iv-org/invidious/issues/5108#issuecomment-2529137289
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m28s

This commit is contained in:
Fijxu 2024-12-09 16:46:23 -03:00
parent c35adbcc0a
commit 1fe6d01978
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -21,7 +21,8 @@ pub static NSIG_FUNCTION_ENDINGS: &[&str] = &[
pub static REGEX_SIGNATURE_TIMESTAMP: &Lazy<Regex> = regex!("signatureTimestamp[=:](\\d+)");
pub static REGEX_SIGNATURE_FUNCTION: &Lazy<Regex> =
regex!("\\bc&&\\(c=([a-zA-Z0-9$]{2,})\\(decodeURIComponent\\(c\\)\\)");
regex!("\\b[a-zA-Z]+&&\\([a-zA-Z]+=([a-zA-Z0-9$]{2,})\\(decodeURIComponent\\([a-zA-Z]+\\)\\)");
pub static REGEX_HELPER_OBJ_NAME: &Lazy<Regex> = regex!(";([A-Za-z0-9_\\$]{2,})\\...\\(");
pub static NSIG_FUNCTION_NAME: &str = "decrypt_nsig";