Skip to content

Commit 923dcf0

Browse files
committed
New signature of proxyGetRequest to handle paramater encoding #3169
1 parent 6773de4 commit 923dcf0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

grails-app/services/au/org/ala/ecodata/forms/EcpWebService.groovy

+5
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ class EcpWebService {
179179
proxyGetRequest(response, url, authHeaderType, timeout)
180180
}
181181

182+
def proxyGetRequest(HttpServletResponse response, String url, Map params, String authHeaderType, Integer timeout = null, String externalToken = null, Map extraHeaders = null) {
183+
url = url + buildUrlParamsFromMap(params)
184+
proxyGetRequest(response, url, authHeaderType, timeout, externalToken, extraHeaders)
185+
}
186+
182187
/**
183188
* Proxies a request URL but doesn't assume the response is text based. (Used for proxying requests to
184189
* ecodata for excel-based reports)

0 commit comments

Comments
 (0)