providers/http: Add queryEscape, queryUnescape

This commit is contained in:
Sasha Koshka 2024-12-25 14:19:30 -05:00
parent adf77c962d
commit 88a364a155

View File

@ -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,
}
}