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

Fix string with escape characters using existing string with escaped characters #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jordoh
Copy link

@jordoh jordoh commented Jul 23, 2024

After packing a string containing an escaped character, a subsequent string containing the escape character would erroneously use the string with the escaped character. I've included a test that demonstrates this behavior.

This PR updates the string re-use check to escape the string before checking for a matching string in the dictionary.

jordoh and others added 2 commits July 23, 2024 14:02
Fixes a string containing a single space (" ") being used as the string for a string containing a single plus sign ("+").
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