-
Notifications
You must be signed in to change notification settings - Fork 91
Add validation for subjects #1017
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
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ca8506f
Add validation for subjects
mtmk 8d4a315
Add protocol-breaking whitespace validation for subject/replyTo/queue…
mtmk 17c0a69
Enhance subject and queue group validation to match Go client standar…
mtmk 4502393
Add skipSubjectValidation option to improve performance and update te…
mtmk 41d8d64
Improve subject validation logic with adaptive short/long path optimi…
mtmk 9ba3b22
Enhance wildcard subject validation with new test cases and refine su…
mtmk 4aaf9a6
Add test cases for short and long subject whitespace validation
mtmk 2673125
Refactor subject validation logic: implement centralized validation i…
mtmk 918e38d
Refactor and expand subject, replyTo, and queue group validation test…
mtmk de6c471
Add synchronous subject and queue group validation to public NATS APIs
mtmk d90b9b6
Refactor and reorder `SubscribeCoreAsync` and `RequestManyInternalAsy…
mtmk 96d1dab
Fix format
mtmk 69b2118
Simplify `SubjectValidator` by removing unnecessary `AsSpan` calls in…
mtmk 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
Add test cases for short and long subject whitespace validation
Expanded tests to include separate validations for short (<16 chars) and long (≥16 chars) subject paths, with specific checks for whitespace handling.
- Loading branch information
commit 4aaf9a60908ba2a512c496c96b39a8a0f095e009
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
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.