Skip to content

Encode URL user-inputted string to prevent injection#58

Open
haydenhoang wants to merge 1 commit intotypesense:masterfrom
haydenhoang:master
Open

Encode URL user-inputted string to prevent injection#58
haydenhoang wants to merge 1 commit intotypesense:masterfrom
haydenhoang:master

Conversation

@haydenhoang
Copy link

Change Summary

This PR also allows users to use special characters in Ids.

Added utils.py and utils_test.py files contain the function encodeURIComponent() to encode user-inputted Ids.

PR Checklist

@jasonbosco jasonbosco requested a review from kishorenc August 28, 2024 16:40
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