-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #22572 Invalid query for random string (#22573)
* Fix #22572 Invalid query for random string * Add changeset * Run prettier * Fix unit tests warnings * redo validation with Joi * make validation on object level documents itself and is cleaner to expand on * Update changeset * Allow integer only * Require min value of 1 * Report as query error, ignore unknown queries --------- Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
- Loading branch information
1 parent
76c8a63
commit 7d2a139
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@directus/api": patch | ||
--- | ||
|
||
Fixed an issue where calling `/random/string` with an invalid length param could prevent creation of valid sessions until next restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters