Skip to content

Conversation

@arthurkirkosa
Copy link
Collaborator

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Feb 25, 2025

PR Summary

  • Enhanced Security in Search Query
    The search query code in SearchableFilter.php has been updated to increase security and safeguard against potential SQL injection attacks. This has been achieved by modifying the search clause to use parameter binding.

  • Improved Test Coverage
    A new test case has been added in RepositorySearchServiceTest.php to verify that the search functionality is working as expected when encountering strings with quotes and double quotes. This allows for more thorough testing and ensures that the search feature behaves consistently across different cases, even when special characters or different casing is used.

@binaryk binaryk merged commit 0271556 into 9.x Feb 25, 2025
@arthurkirkosa arthurkirkosa deleted the fix-search branch February 25, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants