Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

113: Index out of bounds error when working with escaped characters #115

Closed
wants to merge 3 commits into from

Conversation

zeWizard
Copy link

Fixed an "Index was outside the bounds of the array" exception that was being caused by pushing the index ahead before getting the encoded value at that index. It was happening when the string finished with an escape character.

Trent Smith added 2 commits June 27, 2023 16:35
…tion that was being caused by pushing the index ahead before getting the encoded value at that index.
@zeWizard zeWizard mentioned this pull request Jun 27, 2023
It appears as though decoding already happens in the individual message elements. So decoding at the end of the GetValue function appeared to be double decoding, which could corrupt the text value expected.
@jaime-olivares
Copy link

Closing this PR as the issue was already solved in the last version.
I have incorporated the tests from this PR into the test suite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants