Open jindrichmynarz opened 9 years ago
The attachment is sent using HTTP multipart with part headers:
Content-Disposition: form-data; name="upload"; filename="SK_CODELIST_0024_STD.zip"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
so from UV/rdfToCkan side it is OK. The name is mangled inside CKAN.
I have also tried manual upload of the file into CKAN (dataset>resource>manage, X on link, upload button, select file with _, update resource). Same mangling happened.
@mvi-eea-sk what component is mangling the names? This shall be reported there if it is bug, or we have to document it as a feature in documentation of DPUs.
If I enable the "Use file name as CKAN resource name" option, and send it a file named
SK_CODELIST_0024_STD.zip
, then it loads the file asSKCODELIST0024STD.zip
(underscores removed). Is this done to prevent some invalid characters? Is it done by the DPU or CKAN?If it is possible, it would be better to use an unchanged name.
Context: I have come across this issue in ODN 1.1.0.