Audit changes
This commit is contained in:
1 parent
52ea1a8d42
commit
fa182eca76
13 files changed
+29
-15
No files matched your search
@@ -18,6 +18,7 @@ func (app *App) handlePub(pattern string, fn handlerFunc) {
|
||||
s := app.api.Session_Get(sessionID)
|
||||
|
||||
if r.Method == http.MethodPost {
|
||||
r.Body = http.MaxBytesReader(w, r.Body, 128*1024)
|
||||
r.ParseMultipartForm(64 * 1024)
|
||||
} else {
|
||||
r.ParseForm()
|
||||
|
||||
Reference in new issue
Block a user