-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] undefined array key in sort arguments logic #3874
Comments
schugabe
added a commit
to schugabe/ext-solr
that referenced
this issue
Nov 14, 2023
schugabe
added a commit
to schugabe/ext-solr
that referenced
this issue
Nov 14, 2023
dkd-kaehm
pushed a commit
to dkd-kaehm/ext-solr
that referenced
this issue
Nov 15, 2023
dkd-kaehm
pushed a commit
that referenced
this issue
Nov 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
We get many search requests from bots in the form of ?tx_solr%5Bfilter%5D&tx_solr%5Bpage%5D=1&tx_solr%5Bq%5D=quality&tx_solr%5Bsort%5D=title%2Basc
That triggers a warning: Undefined array key 1 in Classes/Domain/Search/SearchRequest.php line 353.
In the method getSeperatedSortings the result from the explode call is used without length check.
Used versions (please complete the following information):
Additional context
Looks like the same issue is present in ext:solr version 12.
The text was updated successfully, but these errors were encountered: