Skip to content

Commit 9d1f02c

Browse files
fix: request uri build handling of + in template
Fix #33
1 parent bd1d16b commit 9d1f02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resty/aws/request/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ local function build_request(operation, config, params)
100100
-- print(name," = ", param_value, ": ",location, " (", locationName,")")
101101

102102
if location == "uri" then
103-
local place_holder = "{" .. locationName .. "}"
103+
local place_holder = "{" .. locationName .. "%+?}"
104104
request.path = request.path:gsub(place_holder, param_value)
105105

106106
elseif location == "querystring" then

0 commit comments

Comments
 (0)