You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use TypeIDs as API keys and want to include both the key name and the owner name in the prefix, e.g. keyname_owner_01hxsjs5zqfv39nsdbw9m9qdcp. While it is possible to create this TypeID, trying to parse the resulting key back into a TypeID fails with an InvalidTypeIDStringException. Will submit a PR to fix this shortly.
EDIT: I'm stupid, forgot the quotes. No exploit possible
The text was updated successfully, but these errors were encountered:
iron3oxide
added a commit
to iron3oxide/typeid-python
that referenced
this issue
May 13, 2024
Refactored the logic in `get_prefix_and_suffix` function to improve type
prefix and suffix extraction. Now using `rsplit` method to accurately extract
the prefix and suffix from the input string.
ClosesakhundMurad#12
I am trying to use TypeIDs as API keys and want to include both the key name and the owner name in the prefix, e.g.
keyname_owner_01hxsjs5zqfv39nsdbw9m9qdcp
. While it is possible to create this TypeID, trying to parse the resulting key back into a TypeID fails with anInvalidTypeIDStringException
. Will submit a PR to fix this shortly.EDIT: I'm stupid, forgot the quotes. No exploit possible
The text was updated successfully, but these errors were encountered: