summaryrefslogtreecommitdiff
path: root/lib/api/validations
Commit message (Collapse)AuthorAgeFilesLines
* Add array support for labelsAlexandru Croitor2019-03-061-0/+24
| | | | | * Support label parameter as comma separated and array of strings for merge requests and issues api endpoints
* Validate Wiki attachments are valid temporary filesStan Hu2018-10-231-0/+15
A malicious attacker could craft a request to read arbitrary files on the system. This change adds a Grape validation to ensure that the tempfile parameter delivered by the Rack multipart uploader is a Tempfile type to prevent users from being able to specify arbitrary filenames. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53072