-
Notifications
You must be signed in to change notification settings - Fork 618
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 logging of images with special characters in the key (uploads are immediate now) #3187
Conversation
Future potential changes:
|
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.
👍
Actually, we should really test this. Probably belongs in |
Codecov Report
@@ Coverage Diff @@
## master #3187 +/- ##
==========================================
+ Coverage 79.01% 79.06% +0.05%
==========================================
Files 210 210
Lines 27636 27638 +2
==========================================
+ Hits 21837 21853 +16
+ Misses 5799 5785 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
🔥
Fixes WB-6076
Description
Escapes filenames that are passed into InterfaceBase.publish_files, which expects globs, not filenames, and therefore misbehaves when filenames contain
*
or[...]
.Testing
Currently working on unit tests.
Manual testing: repro before this change:
Note how the
Uploaded file
line is missing for the key with weird characters.And after: