diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-05 12:09:37 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-05 12:09:37 -0800 |
commit | 24cfc1511d160850a6fc5c93be067c6704892440 (patch) | |
tree | 57b0813f0db6d27243af53d2b664b026f3080780 /system/api/external.go | |
parent | f8b0d0f4c2b756b148130c60b868596c7c0cfa67 (diff) |
changing Add -> Set for values where it could have been problematic
Diffstat (limited to 'system/api/external.go')
-rw-r--r-- | system/api/external.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/external.go b/system/api/external.go index 0c2423b..52510c0 100644 --- a/system/api/external.go +++ b/system/api/external.go @@ -72,7 +72,7 @@ func externalPostHandler(res http.ResponseWriter, req *http.Request) { } for name, urlPath := range urlPaths { - req.PostForm.Add(name, urlPath) + req.PostForm.Set(name, urlPath) } // check for any multi-value fields (ex. checkbox fields) |