Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Ct 1311 cherrypick unicode fixes #288

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hoolymama
Copy link
Contributor

(I had already merged yesterdays related PR)

Based on Slack conversations re unicode strategy, I added a shield in process_upload_filepath() to catch unicode filenames early.
The dialog points straight to the problematic file.
There are some other unicode error/logging handling fixes, which should never be reached now anyway.

Screen Shot 2020-03-19 at 6 03 15 PM

@@ -157,6 +157,13 @@ def process_upload_filepath(path, strict=True):
paths = []

if path:
try:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the docstring to add this verification step?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Done.

@hoolymama
Copy link
Contributor Author

I'll wait until the customer that encountered the issue that prompted this fix has had a chance to use it in a pre-release before merging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants