File tree 1 file changed +2
-1
lines changed
grails-app/services/au/org/ala/ecodata/forms
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class SpeciesListService {
28
28
static final String UPLOAD_V2 = " /upload"
29
29
public static final String INGEST_V2 = " /ingest"
30
30
public static final String PROGRESS_V2 = " /progress"
31
+ public static final String ENCODING = ' UTF-8'
31
32
32
33
GrailsApplication grailsApplication
33
34
EcpWebService ecpWebService
@@ -245,7 +246,7 @@ class SpeciesListService {
245
246
if (! listId) {
246
247
return null
247
248
}
248
- String url = grailsApplication. config. getProperty(' lists.baseURL' ) + SPECIES_LIST_ITEMS_PATH_V2 + ' /' + listId
249
+ String url = grailsApplication. config. getProperty(' lists.baseURL' ) + SPECIES_LIST_ITEMS_PATH_V2 + ' /' + URLEncoder . encode( listId, ENCODING )
249
250
Map params = [pageSize : pageSize, page : page]
250
251
if (query) {
251
252
params. q = query
You can’t perform that action at this time.
0 commit comments