-
Notifications
You must be signed in to change notification settings - Fork 934
Handle SQL injection vulnerabilities within ObjectToSQLString #3547
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
Merged
fredericDelaporte
merged 26 commits into
nhibernate:5.4.x
from
fredericDelaporte:sql-injection
Jul 2, 2024
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d4b9daf
Add injection test cases
fredericDelaporte a3619ac
Add a discriminator injection test
fredericDelaporte b7a153a
Add a test for special characters
fredericDelaporte d2ff013
Minor code cleanup
hazzik d480863
Add test for char
fredericDelaporte 61a9549
Minor code cleanup
hazzik 897a869
Initial is reserved keyword in oracle
hazzik f6c3988
Add a charenum injection test
fredericDelaporte d7677c6
Add an Uri injection test case
fredericDelaporte 69c4c12
Add numerical types injection test cases
fredericDelaporte d85c5a6
Add a datetime test case
fredericDelaporte 4cf9fd3
Escapes string in AbstractStringType
fredericDelaporte 2d21ff3
Fix argument name
hazzik 0dcbfca
Fix a test failing due to new Unicode support
fredericDelaporte 2da9e9e
Fix the char type
fredericDelaporte 02bcc42
Fix types handled as SQL strings
fredericDelaporte edc4177
Add a minimal fix for numeric types
fredericDelaporte 77fe3e5
Minimal fix for the datetime case
fredericDelaporte aa91eb7
Disallow culture injection for numeric types
fredericDelaporte 03936a2
Disallow culture injecton in ticks dependent types
fredericDelaporte b7c0576
Generate async files
github-actions[bot] ea888be
Switch to cast instead of convert
fredericDelaporte 27bc4bf
Add injection test for other datetime types
fredericDelaporte 0c35063
Fix other datetime types
fredericDelaporte e80b766
Add a Guid injection test
fredericDelaporte a1cebb2
Fix the Guid type
fredericDelaporte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.