Repository navigation
Conversation
- Real-binary tests: %37 into an int validator, %20, %2F stays one segment, + stays a plus, bad escapes and %00 are 400, decoded once
- Path values cannot be overridden by query or body - A body field is not satisfied by the query string, nor a query field by the body
…nce triple-brace binds) (#217) - Guards the triple-brace forms inside AT(...) and the bare date/int binds that already work
- Route still matches the raw path, so %2F stays inside one segment - Each captured value is decoded once before validation; + stays a plus - Malformed escapes, %00 and invalid UTF-8 are 400
- A declared field is read only from its source (path, query, body, header) - Route parameters are path-only and cannot be overridden by query or body - Undeclared names keep the any-source behaviour so unknown-param checks still work
…er (#192) - '{{{x}}}' and {{{x}}} become ?, '%{{{x}}}%' becomes ('%' || ? || '%') - Stays raw inside sections, comments, enum identifiers, typed literals (DATE '...'), names after FROM/JOIN/BY, and identifier-glued tags - An absent quoted value still binds '' as it used to render - Tags in SQL comments are no longer turned into placeholders
- DuckLake resolves AT before parameters are bound, so a triple-brace value there (also inside quotes and CAST) is rendered, never turned into a ?
4 of 5 tasks
Contributor
Author
|
Superseded by #230 (combined and merged). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
field-inis honoured per declared source; route params are path-only and cannot be overridden by query or body.'{{{x}}}',{{{x}}},'%{{{x}}}%'->('%' || ? || '%')); sections, comments, enum identifiers, typed literals (DATE '...'), names after FROM/JOIN/BY stay raw.AT (VERSION|TIMESTAMP => ...)stay validated literals.Test plan
Closes #220
Refs #192 #217
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.