Skip to content

Commit

Permalink
fix(nextjs): Match only numbers as orgid in tunnelRoute (#9416)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Oct 31, 2023
1 parent 2ec3582 commit 8285f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/src/config/withSentryConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '(?<orgid>[a-fA-F0-9]*)',
value: '(?<orgid>\\d*)',
},
{
type: 'query',
Expand Down

0 comments on commit 8285f54

Please sign in to comment.