-
Notifications
You must be signed in to change notification settings - Fork 375
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: correctly validate package/realm path #1813
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1813 +/- ##
=======================================
Coverage 47.78% 47.78%
=======================================
Files 393 393
Lines 61660 61660
=======================================
Hits 29465 29465
Misses 29723 29723
Partials 2472 2472 ☔ View full report in Codecov by Sentry. |
Reviewing now, please don't merge yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for attempting to improve this part of the codebase 🙏
Please check my comments so we can resolve some issues
8dfe7e2
to
0d5de3d
Compare
0d5de3d
to
61afe4a
Compare
@zivkovicmilos Sorry for force pushing the branch. This solution is not related to the previous one. Please take another look. Thanks for the review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for resolving the convos 🙏
The regex pattern used for package/realm path validation is incorrect. Currently, it allows paths with special characters and empty path parts, Fixed it. BREAKING CHANGE: - Special characters are disallowed - Cannot have trailing slash(s) - Cannot have empty path part - Cannot have solely `_`[underscore(s)] in path
The regex pattern used for package/realm path validation is incorrect. Currently, it allows paths with special characters and empty path parts, commit f98e509 demonstrates that.
Subsequent commits fixes it.
BREAKING CHANGE:
_
[underscore(s)] in pathContributors' checklist...
BREAKING CHANGE: xxx
message was included in the description