Skip to content
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

+ added as separator character on direct-from-S3 downloads #7184

Closed
djbrooke opened this issue Aug 11, 2020 · 3 comments · Fixed by #7186
Closed

+ added as separator character on direct-from-S3 downloads #7184

djbrooke opened this issue Aug 11, 2020 · 3 comments · Fixed by #7186

Comments

@djbrooke
Copy link
Contributor

  • signs are being added to file names when they are being downloaded on the release candidate. To reproduce:

vs. Demo:

@qqmyers
Copy link
Member

qqmyers commented Aug 11, 2020

FWIW - The 303 redirect being sent from Dataverse to have the browser retrieve from S3 is:
Location: https://odum-dataverse5-test.s3.amazonaws.com/10.5072/FK2/AT8YFM/173dee3e434-a1e19d09f707?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27spaces%2Bspace%2Bspaces.png&response-content-type=image%2Fpng&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200811T193433Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAJOOKUO5J7RCRR65A%2F20200811%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=6a9d8ed2f8331793011f0331fa68d1660e5bf944cdeac8d6ab45ea8e590eb748

@djbrooke
Copy link
Contributor Author

The dwellers of the dv-tech slack channel talked through this and suggested re-testing on production (dataverse.harvard.edu) where there is a redirect to S3. Sure enough, in production the + is shown.

For now, I'll leave this open because I think renaming files is weird, but it's not something that needs to be resolved for Dataverse 5. @scolapasta pointed out that people may not run into issues here because zipping keeps the file names as expected.

@qqmyers
Copy link
Member

qqmyers commented Aug 11, 2020

Looks like it was introduced in #4542 as part of the solution to UTF-8 chars...

qqmyers added a commit to QualitativeDataRepository/dataverse that referenced this issue Aug 11, 2020
qqmyers added a commit to QualitativeDataRepository/dataverse that referenced this issue Aug 11, 2020
@djbrooke djbrooke changed the title + added as separator character on release candidate + added as separator character on direct-from-S3 downloads Aug 11, 2020
qqmyers added a commit to QualitativeDataRepository/dataverse that referenced this issue Aug 13, 2020
kcondon added a commit that referenced this issue Aug 24, 2020
…ode_space_in_filename-correctly

fix for #7184 spaces changed in s3 direct download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants