mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
583 B
583 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Be careful if you're not scoping your route model bindings | 1547939806788734976 | weekly-thread-2022-28 | realstevebauman |
|
2022-07-15T13:43:03+00:00 | be-careful-if-youre-not-scoping-your-route-model-bindings |
I've caught myself writing this security bug many times in controllers, making the assumption that Laravel will retrieve child route bound models by the parent model by default. Be careful if you're not scoping your route model bindings!