summaryrefslogtreecommitdiff
path: root/system/api/external.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-05 12:09:37 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-05 12:09:37 -0800
commit24cfc1511d160850a6fc5c93be067c6704892440 (patch)
tree57b0813f0db6d27243af53d2b664b026f3080780 /system/api/external.go
parentf8b0d0f4c2b756b148130c60b868596c7c0cfa67 (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.go2
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)