From aaeb2baedba96f3e73c86864a98f2067f4534eb8 Mon Sep 17 00:00:00 2001 From: Dargon789 <64915515+Dargon789@users.noreply.github.com> Date: Mon, 19 Jan 2026 23:56:20 +0700 Subject: [PATCH] Potential fix for code scanning alert no. 9: Incomplete regular expression for hostnames Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> --- apps/web/cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/cypress/support/commands.ts b/apps/web/cypress/support/commands.ts index 476905a0daa..f35f18e9b4b 100644 --- a/apps/web/cypress/support/commands.ts +++ b/apps/web/cypress/support/commands.ts @@ -144,7 +144,7 @@ export function registerCommands() { Cypress.Commands.add('interceptGraphqlOperation', (operationName, fixturePath) => { const graphqlInterceptions = Cypress.env('graphqlInterceptions') - cy.intercept(/(?:interface|beta).gateway.uniswap.org\/v1\/graphql/, (req) => { + cy.intercept(/(?:interface|beta)\.gateway\.uniswap\.org\/v1\/graphql/, (req) => { req.headers['origin'] = 'https://app.uniswap.org' const currentOperationName = req.body.operationName