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: allow periods in parameter identifiers #8022

Merged
merged 1 commit into from Aug 5, 2021

Conversation

imnotjames
Copy link
Contributor

@imnotjames imnotjames commented Aug 4, 2021

Description of change

updates the character set for parameter identifiers to include
periods. also update the setParameter function on query builder
to validate these identifiers to ensure have explicit failures
when invalid keys are used

fixes #8015

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run lint passes with this change
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

updates the character set for parameter identifiers to include
periods.  also update the `setParameter` function on query builder
to validate these identifiers to ensure have explicit failures
when invalid keys are used
@imnotjames imnotjames merged commit 4201938 into typeorm:master Aug 5, 2021
@imnotjames imnotjames deleted the fix/8015/parameter-dots branch August 5, 2021 11:33
klerick pushed a commit to ringcentral/nestjs-json-api that referenced this pull request Oct 7, 2021
after PR typeorm/typeorm#8022
The filter
functional broke

Closes #12
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.

Query not properly escaped with parameter keys containing a "." (dot) character in them
1 participant