Fix URL decoding in processUpload function
This commit is contained in:
parent
73b4748258
commit
93f5eee811
2 changed files with 4 additions and 4 deletions
|
|
@ -120,8 +120,8 @@ func processUpload(process *gouProcess.Process) interface{} {
|
|||
|
||||
process.ValidateArgNums(4)
|
||||
form := MustGet(process)
|
||||
xpath := process.ArgsString(1)
|
||||
method := process.ArgsString(2)
|
||||
xpath, _ := url.QueryUnescape(process.ArgsString(1))
|
||||
method, _ := url.QueryUnescape(process.ArgsString(2))
|
||||
key := fmt.Sprintf("%s.$%s", xpath, method)
|
||||
|
||||
// get cloud props
|
||||
|
|
|
|||
|
|
@ -105,8 +105,8 @@ func processUpload(process *gouProcess.Process) interface{} {
|
|||
|
||||
process.ValidateArgNums(4)
|
||||
tab := MustGet(process)
|
||||
xpath := process.ArgsString(1)
|
||||
method := process.ArgsString(2)
|
||||
xpath, _ := url.QueryUnescape(process.ArgsString(1))
|
||||
method, _ := url.QueryUnescape(process.ArgsString(2))
|
||||
key := fmt.Sprintf("%s.$%s", xpath, method)
|
||||
|
||||
// get cloud props
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue