-
Notifications
You must be signed in to change notification settings - Fork 186
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
Fail to upload if path has Chinese #102
Comments
Hi and thanks for reporting the problem. I've just released the version 2.1.13, which has an improved error printer. Please upgrade into it and run The "invalid multibyte char" message suggests that there might be a problem in you s3_website.yml file. Can you paste its contents here? Remember to erase sensitive information such as credentials. |
Using command
My max_age:
"assets/*": 86400
"*": 21600
gzip:
- .html
- .css
- .js
- .json
- .txt
- .xml
# See http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
# for valid endpoints
s3_endpoint: ap-southeast-1
# ignore_on_server: that_folder_of_stuff_i_dont_keep_locally
# exclude_from_upload:
# - those_folders_of_stuff
# - i_wouldnt_want_to_upload
# s3_reduced_redundancy: true
# cloudfront_distribution_id: your-dist-id
# cloudfront_distribution_config:
# default_cache_behavior:
# min_TTL: <%= 60 * 60 * 24 %>
# aliases:
# quantity: 1
# items:
# CNAME: your.website.com
# cloudfront_invalidate_root: true
# concurrency_level: 5
redirects:
articles/category/software: /categories/software
articles/category/blog: /categories/blog
routing_rules:
- condition:
key_prefix_equals: articles/tag/
redirect:
host_name: www.example.com
replace_key_prefix_with: tags/
http_redirect_code: 301
- condition:
key_prefix_equals: feed/
redirect:
host_name: www.example.com
replace_key_prefix_with: feed.xml
http_redirect_code: 301 Thanks. |
Thanks for the additional info. The version 2.1.15 contains the fix for this bug. The commit is here: 898967d. The solution was to instruct JRuby to use the UTF-8 encoding. |
Thanks 💯 |
There is another error that cause an exception. Thanks.
|
Works great 👯 Thanks again |
When I try to upload paths that contain Chinese, it failed.
The text was updated successfully, but these errors were encountered: