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
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -278,9 +278,25 @@ for example for lumen:
278
278
```
279
279
280
280
OBS
281
+
281
282
Set `$returnNullOnInvalidColumnAttributeAccess = false;` in model if you want exception instead of null on accessing invalid model attributes (It also needs error_reporting = E_ALL in php ini file).
283
+
282
284
Set LIVE_MODE=false in your .env file for non prod environments.
283
285
286
+
Use Request::getFiltered macro to sanitize data retrieved from request
287
+
```php
288
+
(string)\request('signature', '');
289
+
```
290
+
The above will throw Array to string conversion error for query: _?signature[]=_
0 commit comments