From b27c990db8a8701e2814e77136a34689be56c623 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 5 May 2015 08:47:43 +0200 Subject: [PATCH] fix(API): simplified call to form_urlencode It now supports more generic inputs, as suggested in a lenghty dialog on a corresponding github issue. Required to build with >=0.2.33 --- src/mako/api/lib/mbuild.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mako/api/lib/mbuild.mako b/src/mako/api/lib/mbuild.mako index b6af9cfd9a8..518e9c80328 100644 --- a/src/mako/api/lib/mbuild.mako +++ b/src/mako/api/lib/mbuild.mako @@ -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: