diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-01-24 14:11:59 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-01-24 14:11:59 -0800 |
commit | b2a1f4ecfb47746b274481eb2c04c904fdce64f6 (patch) | |
tree | c6c4a1702f93277f7fa47f02bfcb0d078e096e98 /youtube/templates/login.html | |
parent | c13a8f677dd0e2fe5e3ee260d51e95665d71ba36 (diff) | |
download | yt-local-b2a1f4ecfb47746b274481eb2c04c904fdce64f6.tar.lz yt-local-b2a1f4ecfb47746b274481eb2c04c904fdce64f6.tar.xz yt-local-b2a1f4ecfb47746b274481eb2c04c904fdce64f6.zip |
Fix signature decryption.
The function body regex was capturing some unrelated new code before the actual function body. Example:
`function(a){a=a.split("");var b=[function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){return c.unshift(e)}`
If you look closely, the closing bracket doesn't match the opening one. I have added `{` to the `[^\}]+` part to make sure it only captures matching brackets. Additionally, I've added `return a\.join\(""\)` to the end for good measure.
Diffstat (limited to 'youtube/templates/login.html')
0 files changed, 0 insertions, 0 deletions