Commit b0b2fd4
CLOUDSTACK-1125: [EC2 Query API] Permission denied exception when a parameter value contains space
Convert space characters in the parameters to %20 while forming a query string after url-encode because java.net.URLEncoder performs application/x-www-form-urlencoded-type encoding and not percent-encoding. According to RFC 3986 as required by Amazon, we need to percent-encode.1 parent c26b02a commit b0b2fd4
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1899 | 1899 | | |
1900 | 1900 | | |
1901 | 1901 | | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
1902 | 1906 | | |
1903 | | - | |
| 1907 | + | |
1904 | 1908 | | |
1905 | | - | |
| 1909 | + | |
1906 | 1910 | | |
1907 | 1911 | | |
1908 | 1912 | | |
| |||
0 commit comments