Skip to content

Commit

Permalink
Unnecessary escape character: \?
Browse files Browse the repository at this point in the history
  • Loading branch information
harryitz committed Jul 10, 2024
1 parent 51d6cf7 commit 7ce48dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bypasses/lootlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class LootLink extends BypassDefinition {
}

execute() {
if (/[\?&]r=/.test(window.location.href.toString())) {
if (/[?&]r=/.test(window.location.href.toString())) {
const urlParams = new URLSearchParams(window.location.search)
const r = urlParams.get('r')
const finalURL = decodeURIComponent(escape(atob(r)));
Expand Down

0 comments on commit 7ce48dc

Please sign in to comment.