[JIRA] (JENKINS-59623) Unable to upload files with non ascii characters

20 views
Skip to first unread message

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 3:29:01 PM10/2/19
to jenkinsc...@googlegroups.com
Mez Pahlan updated an issue
 
Jenkins / Bug JENKINS-59623
Unable to upload files with non ascii characters
Change By: Mez Pahlan
Summary: Appcenter plugin unable Unable to upload files with non ascii characters
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 3:52:11 PM10/2/19
to jenkinsc...@googlegroups.com
Mez Pahlan commented on Bug JENKINS-59623
 
Re: Unable to upload files with non ascii characters

I'll improve the error output but in the meantime the error we're getting is as you suspected:

Unexpected char 0xf8 at 36 in Content-Disposition value: form-data; name="ipa"; filename="d-føtex ud af huset.apk"

Which points to the ø character. However this is at the point where we try to upload the resource to AppCenter. Whilst this file is correct and valid on the file system the upload mechanism doesn't like it .

vladimirpavlovic590@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:02:02 PM10/2/19
to jenkinsc...@googlegroups.com

Thanks for investing time on this.
What do you think is there solution or only solution would be to change app name to be without ascii chars

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:07:09 PM10/2/19
to jenkinsc...@googlegroups.com

At the moment I am hoping to find a solution that doesn't force users to use only ascii characters but that depends on the http client library that I am using. There is a discussion about a possible solution in this OkHttp issue. That's pretty much your issue right there and it says there is a fix if we bump the version of the library. Hopefully it is as simple as that...... however I'm still testing that.

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:32:04 PM10/2/19
to jenkinsc...@googlegroups.com

OK that did work. However the file that you then download from AppCenter has had its name changed from d-føtex ud af huset.apk to d-f_tex_ud_af_huset.apk. I can't quite tell what is doing that. The upgraded library or AppCenter itself. Either way I don't think it matters. You can upload your file!

I'll see if I can provide some tests and then push this to a PR. Thanks again.

vladimirpavlovic590@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:46:03 PM10/2/19
to jenkinsc...@googlegroups.com

Thanks a lot Mez
Looking forward for update

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:48:14 PM10/2/19
to jenkinsc...@googlegroups.com

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 5:12:02 PM10/2/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: In Review Fixed but Unreleased
Resolution: Fixed

mez.pahlan@gmail.com (JIRA)

unread,
Oct 2, 2019, 5:36:04 PM10/2/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: Fixed but Unreleased Resolved
Released As: 0.6.2
Reply all
Reply to author
Forward
0 new messages