Skip to content

Commit

Permalink
fix(API): simplified call to form_urlencode
Browse files Browse the repository at this point in the history
It now supports more generic inputs, as suggested in a lenghty
dialog on a corresponding github issue.

Required to build with >=0.2.33
  • Loading branch information
Byron committed May 5, 2015
1 parent fb80b05 commit b27c990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/api/lib/mbuild.mako
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ else {
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params.iter().map(|t| (t.0, t.1.as_ref()))));
url.push_str(&url::form_urlencoded::serialize(params));
}
% if request_value:
Expand Down

0 comments on commit b27c990

Please sign in to comment.