mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Encoding to handle XSS (#1409)
This commit is contained in:
@@ -14,7 +14,7 @@ function main()
|
||||
maxResults: (args.maxResults !== null) ? parseInt(args.maxResults, 10) : DEFAULT_MAX_RESULTS,
|
||||
pageSize: (args.pageSize !== null) ? parseInt(args.pageSize, 10) : DEFAULT_PAGE_SIZE,
|
||||
startIndex: (args.startIndex !== null) ? parseInt(args.startIndex, 10) : 0,
|
||||
facetFields: args.facetFields,
|
||||
facetFields: encodeURIComponent(args.facetFields),
|
||||
filters: args.filters,
|
||||
encodedFilters: args.encodedFilters,
|
||||
spell: (args.spellcheck !== null) ? (args.spellcheck == "true") : false
|
||||
|
Reference in New Issue
Block a user