Skip to content

Commit

Permalink
utf-8 encode querystring to keep special chars
Browse files Browse the repository at this point in the history
  • Loading branch information
jackahl committed Sep 4, 2024
1 parent 02428df commit 37fd177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/solrsearch/solrsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function solrSearchContent(url, options, subrequest = null) {
'&',
)
: '',
`q=${options.SearchableText ?? ''}`,
`q=${encodeURIComponent(options.SearchableText ?? '')}`,
// Default batch size is injected here
`rows=${
options.b_size !== undefined ? options.b_size : settings.defaultPageSize
Expand Down

0 comments on commit 37fd177

Please sign in to comment.