From 80959d7620a4042cc466abafba0bdbfdf63bddf2 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Tue, 31 Oct 2023 08:34:35 +0000 Subject: [PATCH] fix(nextjs): Match only numbers as orgid in tunnelRoute --- packages/nextjs/src/config/withSentryConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/src/config/withSentryConfig.ts b/packages/nextjs/src/config/withSentryConfig.ts index 48afb25f8dc3..a665aa892c8c 100644 --- a/packages/nextjs/src/config/withSentryConfig.ts +++ b/packages/nextjs/src/config/withSentryConfig.ts @@ -104,7 +104,7 @@ function setUpTunnelRewriteRules(userNextConfig: NextConfigObject, tunnelPath: s { type: 'query', key: 'o', // short for orgId - we keep it short so matching is harder for ad-blockers - value: '(?[a-fA-F0-9]*)', + value: '(?\\d*)', }, { type: 'query',