-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: eTag comparison #16164
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: eTag comparison #16164
Conversation
|
/backport to stable-3.35 |
|
|
||
| @Test | ||
| fun testIsNotBlankAndEqualsWhenGivenOneHasLeadingWhitespaceAndOtherDoesNot() { | ||
| val str1 = " hello" |
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.
Don't remove spaces and compare just like before.
|
|
||
| @Test | ||
| fun testIsNotBlankAndEqualsWhenGivenBothHaveIdenticalWhitespacePaddingDifferentCase() { | ||
| val str1 = " hello " |
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.
If even spaces are same and content is same we can consider as eTag didnt change
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16164.apk |
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
181278a to
72c77a0
Compare
Signed-off-by: alperozturk <[email protected]>
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |

Previous logic before metadata worker implementation:
mRemoteFolderChanged = !(remoteFolderETag.equalsIgnoreCase(localFolderEtag));