Replace commons-fileupload-1.2.2.jar with 1.3.2


Sorry if this is in the wrong category.

We have a request for uploading attachments to JIRA with Unicode characters in their names via REST API. After some digging, we found out that we have a dependency to commons-fileupload. Our current version of the .jar does not support this kind of upload, it’s only supported from version 1.3.2 onwards.

We found the location for the file (./jira-home/plugins/.osgi-plugins/felix/felix-cache/bundle108/version0.0/jira-workflow-sharing-plugin-2.1.4.jar-embedded/META-INF/lib/commons-fileupload-1.2.2.jar).

My question is can we safely replace this file with a newer version so that we can upload attachments with Unicode characters in their names via REST? We have a lot of Asian users that don’t use English when naming their attachments and this is impacting their automation capabilities.

Alternately, has anyone managed to upload attachments with Unicode chars in their names using Python? With curl the file is uploaded but the Unicode chars appear as “%”. From Python we can’t upload the file at all as we get "Failed to add attachments on issue AIVC-### with message: 'ascii' codec can't encode character u'u2461' in position 0: ordinal not in range(128) errors even if we encode/decode the file name.

Thank you,