Replace all instances, not just the first one

This commit is contained in:
Raymond Hill 2024-11-20 08:07:52 -05:00
parent 11bbee93fe
commit 4a8efe1ed8
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -5502,7 +5502,7 @@ function urlSkip(directive, url, blocked, steps) {
}
// Safe Base64
if ( step === '-safebase64' ) {
urlout = urlin.replace(/[-_]/, safeBase64Replacer);
urlout = urlin.replace(/[-_]/g, safeBase64Replacer);
urlout = self.atob(urlout);
continue;
}