Skip to content

Encode URL user-inputted string to prevent injection - #58

Open
haydenhoang wants to merge 1 commit into
typesense:masterfrom
haydenhoang:master
Open

haydenhoang wants to merge 1 commit into
typesense:masterfrom
haydenhoang:master

Conversation

@haydenhoang

Copy link
Copy Markdown
Collaborator

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant