-
Notifications
You must be signed in to change notification settings - Fork 659
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
Error in download_attachments_from_page() with some file names #1355
Comments
which instance do you use? DC or cloud (if DC which version). Is it jira or confluence? |
I think that it is not related to the client. Looking into the code I found this in atlassian/confluence.py:
Line 1338, in the |
On macOS host, it seems to be fine. Are you using a Windows host? According to https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file, a colon shouldn't be used for files or directory names. Therefore, I don't think the problem is with the library code. I can add a small comment to the code with a warning. |
Hi!
Using the method download_attachments_from_page() raises an exception when the filename is not sanitize
Eg:
image2019-9-13 11:51:31.png
this file raises an error, I believe that is caused by the colons (:)The text was updated successfully, but these errors were encountered: