Commit b34f0c3
committed
feat(serverHandler/upload): restrict upload form name scope
Previously, if form name is not `dirfile` or `innerdirfile`, assume form
name is `dir` and skip checking the name provided.
Now if provided name is unrecognized, just ignore the whole form part
and will not write its content to file.1 parent 3b2c58a commit b34f0c3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments