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: unicode named params problem #865

Closed
wants to merge 1 commit into from
Closed

FIX: unicode named params problem #865

wants to merge 1 commit into from

Conversation

take0a
Copy link

@take0a take0a commented May 25, 2023

The "compiledNamedQuery" function WAS NOT safe for Unicode named params, as evidenced by a failed test.

Specifying a string range in runes instead of bytes is inconvenient and slow, so I changed it to detect when a single rune is split into multiple bytes. This allows failing tests to pass. Please provide this fix to users outside the ASCII code area, including us Japanese.

@take0a take0a closed this Sep 17, 2023
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.

None yet

1 participant