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

Local file names containing spaces exposed with + on S3 #157

Open
bmedici opened this issue Jul 1, 2019 · 0 comments
Open

Local file names containing spaces exposed with + on S3 #157

bmedici opened this issue Jul 1, 2019 · 0 comments

Comments

@bmedici
Copy link

bmedici commented Jul 1, 2019

When I put a file named "source/The File.pdf" in my local source directory, it is built by middleman and then pushed to s3 but any link pointing to it breaks.
In fact, the file is seen as "source/The+File.pdf" inside the S3 bucket, and only working with a link like href="source/The+File.pdf".

How should I configure s3_sync to force S3 to used spaces instead of pluses, but I guess s3 is working this way and it's not possible ?
How should I tell middleman to anticipate a link to a name with pluses like S3 will transform it ?

Thanks for your tips.

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

No branches or pull requests

1 participant