Skip to content

Commit

Permalink
fixed bug UrlEncode
Browse files Browse the repository at this point in the history
  • Loading branch information
navrotskyj committed Sep 4, 2018
1 parent 6668318 commit 08b2386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/call/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func compatibleJSEncodeURIComponent(str string) string {
resultStr := str
resultStr = strings.Replace(resultStr, "+", "%20", -1)
resultStr = strings.Replace(resultStr, "%21", "!", -1)
resultStr = strings.Replace(resultStr, "%27", "'", -1)
//resultStr = strings.Replace(resultStr, "%27", "'", -1)
resultStr = strings.Replace(resultStr, "%28", "(", -1)
resultStr = strings.Replace(resultStr, "%29", ")", -1)
resultStr = strings.Replace(resultStr, "%2A", "*", -1)
Expand Down

0 comments on commit 08b2386

Please sign in to comment.