You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
both issues say that you can use handleError, but it just work when the trace comes from an error, but if your loader returns good, then handleError is worthless now.
that's bad because anyone can get sensible data with this trick.
System Info
npm run dev, yarn dev, pnpm dev
Used Package Manager
npm
Expected Behavior
should not expose loader data
Actual Behavior
any remix app with ?_data= in their url is exposing loader data, and if you don't set a loader function it triggers an error that you didn't set up a loader in your route
The text was updated successfully, but these errors were encountered:
Reproduction
Just search https://kentcdodds.com/?_data=
related issues: #5199, #4564
both issues say that you can use handleError, but it just work when the trace comes from an error, but if your loader returns good, then handleError is worthless now.
that's bad because anyone can get sensible data with this trick.
System Info
Used Package Manager
npm
Expected Behavior
should not expose loader data
Actual Behavior
any remix app with ?_data= in their url is exposing loader data, and if you don't set a loader function it triggers an error that you didn't set up a loader in your route
The text was updated successfully, but these errors were encountered: