Skip to content

Commit 2478726

Browse files
fix(internal): correct multipart form field name encoding
1 parent c9a8561 commit 2478726

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/stagehand/internal/util.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,7 @@ def encode_query_params(query)
571571
y << "Content-Disposition: form-data"
572572

573573
unless key.nil?
574-
name = ERB::Util.url_encode(key.to_s)
575-
y << "; name=\"#{name}\""
574+
y << "; name=\"#{key}\""
576575
end
577576

578577
case val

0 commit comments

Comments
 (0)