Skip to content

Commit

Permalink
MAT-4193 remove extra thing
Browse files Browse the repository at this point in the history
  • Loading branch information
ethankaplan committed Nov 7, 2024
1 parent 2dbb322 commit f6dc5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/wafIntercept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import DOMPurify from "dompurify";
const wafIntercept = (error) => {
// Check for WAF block
if (
(error?.response?.status === 403 || error?.response?.status === 200) &&
error?.response?.status === 403 &&
error?.response?.headers["content-type"].includes("text/html") &&
(JSON.stringify(error.response.data).includes("[email protected]") ||
JSON.stringify(error.response.data).includes("[email protected]"))
Expand Down

0 comments on commit f6dc5d0

Please sign in to comment.