Skip to content

Commit 8285f54

Browse files
author
Luca Forstner
authored
fix(nextjs): Match only numbers as orgid in tunnelRoute (#9416)
1 parent 2ec3582 commit 8285f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/config/withSentryConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function setUpTunnelRewriteRules(userNextConfig: NextConfigObject, tunnelPath: s
104104
{
105105
type: 'query',
106106
key: 'o', // short for orgId - we keep it short so matching is harder for ad-blockers
107-
value: '(?<orgid>[a-fA-F0-9]*)',
107+
value: '(?<orgid>\\d*)',
108108
},
109109
{
110110
type: 'query',

0 commit comments

Comments
 (0)