From 88a364a155e643861da7aa3d1fcc34a2c1cdf321 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 25 Dec 2024 14:19:30 -0500 Subject: [PATCH] providers/http: Add queryEscape, queryUnescape --- providers/http/http.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/providers/http/http.go b/providers/http/http.go index 44ee2cd..0b1c630 100644 --- a/providers/http/http.go +++ b/providers/http/http.go @@ -21,11 +21,13 @@ func (this *Provider) Package () string { // FuncMap fulfills the step.FuncProvider interface. func (this *Provider) FuncMap () template.FuncMap { return template.FuncMap { - "statusText": http.StatusText, - "parseQuery": funcParseQuery, - "parseForm": funcParseForm, - "error": funcError, - "redirect": funcRedirect, + "statusText": http.StatusText, + "parseQuery": funcParseQuery, + "parseForm": funcParseForm, + "error": funcError, + "redirect": funcRedirect, + "queryEscape": url.QueryEscape, + "queryUnescape": url.QueryUnescape, } }