-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Validation for new storage key location #30222
Conversation
d32f47d
to
4326dbb
Compare
Codecov Report
@@ Coverage Diff @@
## master #30222 +/- ##
============================================
- Coverage 58.36% 58.35% -0.01%
- Complexity 18566 18567 +1
============================================
Files 1093 1093
Lines 63771 63772 +1
============================================
- Hits 37218 37217 -1
- Misses 26553 26555 +2
Continue to review full report at Codecov.
|
4326dbb
to
f02086b
Compare
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.
👍
Extra validation required if the new storage key location is being provided to the command. When is_dir returns null it wasn't captured by the command. And hence the command was executed successfully. This change would help to prevent such scenario. If is_dir returns null throw exception. Signed-off-by: Sujith H <[email protected]>
f02086b
to
4802f09
Compare
@sharidas please backport |
Backport stable10 #30357 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Extra validation required if the new storage
key location is being provided to the command.
When is_dir returns null it wasn't captured by
the command. And hence the command was executed
successfully. This change would help to prevent
such scenario. If is_dir returns null throw exception.
Signed-off-by: Sujith H [email protected]
Description
The new root directory wasn't checked for null. This change helps to validate against null
Related Issue
#27660
Motivation and Context
Validate new root against null.
How Has This Been Tested?
foo
outside the owncloud folderScreenshots (if appropriate):
Types of changes
Checklist: