Issue
I've added app://* to the denyUrls option, but frames that contain app://* are not being filtered.
Applies To
- All SaaS Customers and Self-Hosted Users
- JavaScript and React Native SDKs
-
Users using the denyUrls option along with the RewriteFrames integration
Resolution
Some of the SDKs include
RewriteFrames integration automatically, such as React Native and Next.js. This integration changes the stack traces' URL to app://* by default.The
denyUrls option takes a list of regular expressions, or strings, that can match any part of a URL to block them from sending issues to your Sentry project. This option filters events based on the URL on the first frame of the stack trace.Because
denyUrls runs before RewriteFrames, the denyUrlslogic won't match on app://* as this is not part of the frame's original URL. In this case, you must not attempt to match on the app://* part of the frame and use the rest of the frame in the denyUrls list.