Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1813] Fix errors when URL parameters like "filter[status]" aren't st…
…rings (#1814) * Fix errors when URL parameter "filter[status]" isn't a string * Fallback to empty string instead of the default statuses * Revert sanitization of $filters[status] * Sanitize gp_get() for new glossary translation_set_id string * Sanitize gp_get( 'parent_project_id' ) parameter type on new project * Sanitze URL get 'project_id' on new translation_set * Sanitize gp_get() parameters 'page', 'sort' and 'filters'. * Check int types * Check numeric IDs in gp_get with is_numeric()
- Loading branch information
1 parent
4a9aed0
commit b100e73
Showing
4 changed files
with
34 additions
and
9 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
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
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