Skip to content
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

refactor: enhance search functionality and security #137

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

hareshkainthdbt
Copy link
Contributor

Description:

  • Improved search logic for clarity and maintainability.
  • Strengthened query handling and prevented SQL injection risks.
  • Enhanced security and functionality with updated dependencies.

Commented out unused error handling for the `id` parameter, adjusted queryset retrieval to return the first result, and added logging and sanitization steps for the search configuration object. Fixed a typo in the config output dictionary to correctly reference `self.id`.
@hareshkainthdbt hareshkainthdbt merged commit 2c43f99 into main Dec 15, 2024
4 checks passed
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.

1 participant