mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
cc4473faf3
* add `IsPathValidationError` util to fs api * refactor storage.Upload method * remove unused struct * extract `RootUpload` constant * move file validation outside of the service * Make UploadErrorToStatusCode exported * validation/sanitization * refactor pathValidationError check * refactor, rename sanitize to transform * add a todo * refactor * transform -> sanitize * lint fix * #50608: fix jpg/jpeg Co-authored-by: Tania B <yalyna.ts@gmail.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
config.go | ||
entity_events_mock.go | ||
entity_events_test.go | ||
entity_events.go | ||
http.go | ||
sanitize.go | ||
service_test.go | ||
service.go | ||
storage_disk.go | ||
storage_sql_test.go | ||
storage_sql.go | ||
tree.go | ||
types.go | ||
utils_test.go | ||
utils.go | ||
validate.go |