Repository navigation
Commit b69ed3e
committed
fix: upload URL size arg AdminForth/2032/fix-upload-plugin-and-storage-
StorageAdapter.getUploadSignedUrl gets an optional contentLength. When
it is passed, the adapter binds the upload URL to that exact size, so a
client can't declare a small file and upload a bigger one. Adapters
that ignore the argument keep working.1 parent a1fa458 commit b69ed3e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments