diff options
| author | dakkar <dakkar@thenautilus.net> | 2023-10-22 13:35:11 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2023-10-22 13:35:11 +0100 |
| commit | b74fd71d67d600b2acabfef34b6d9e05e9264463 (patch) | |
| tree | 5fa45e5b4156a3188f43938402a27c86edfb895f /packages/backend/src/server/api/openapi | |
| parent | chore: remove debug from versions menu (diff) | |
| download | sharkey-b74fd71d67d600b2acabfef34b6d9e05e9264463.tar.gz sharkey-b74fd71d67d600b2acabfef34b6d9e05e9264463.tar.bz2 sharkey-b74fd71d67d600b2acabfef34b6d9e05e9264463.zip | |
nicer file type search
* the previous one could allow a SQL injection, since the
`opts.filetype` value came straight from the browser
* this more precise regex match will not produce spurious
matches (which were very unlikely, true, but still, let's be
precise) (`video/movingimages` would have matched `%image%`!)
Diffstat (limited to 'packages/backend/src/server/api/openapi')
0 files changed, 0 insertions, 0 deletions