marklogic-community / data-hub-central-community

Data Hub Central Community Edition (formerly Envision) provides a visual way to interact with and experience your true multi-model data hub. You can go from loading data, to integrating, exploring, validating, and exporting curated results using Envision's end to end components.
https://marklogic-community.github.io/data-hub-central-community/
Other
8 stars 12 forks source link

[BUG] Upload fails if the input file contains muti-byte characters in its filename. #265

Open knodajp opened 3 years ago

knodajp commented 3 years ago

*### Welcome Data Hub Central Community Edition(DHCCE) enthusiast!

Let's get the most out of this ticket, please fill out this template.

The issue

Short description of the problem:

Upload fails if the input file contains muti-byte characters in its filename.

What behavior are you expecting?

Able to upload and load files which contains muti-byte characters in its filename.

What are the steps to reproduce the issue: 1) Login to DHCCE, move to Upload tab. 2) Drag and Drop or use file selector to upload input file which contains multi-byte characters in its filename. (e.g. テスト.csv)

Tech details

Which Operating System are you using?

Which version of MarkLogic are you using?

Which version of the Data Hub are you using?

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:

Local message: failed to apply resource at documents: Bad Request. Server Message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Expected param assignment instead of * for content disposition: attachment; filename*=UTF-8''%2Fingest%2Fadmin%2F%E3%83%86%E3%82%B9%E3%83%88.csv%2Fb0d6d875-3836-4594-987d-121148ac7c0d.json