Skip to content

Commit

Permalink
Fix none match multi domain validation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgriffon authored and forgedhallpass committed Oct 7, 2024
1 parent 4881481 commit 4b36e80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions csrfguard/src/main/resources/csrfguard.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ if (owaspCSRFGuardScriptHasLoaded !== true) {
return true;
}
}
// In case none of the domain matches, return false
return false;
}

/* check exact or subdomain match */
Expand Down

0 comments on commit 4b36e80

Please sign in to comment.