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

Pass decoded url to Carrierwave::Downloader #3652

Conversation

trangmei
Copy link
Contributor

Carrierwave::Downloader#process_uri encodes uri again (https://github.com/carrierwaveuploader/carrierwave/blob/c4b6d91bd7ed759bb83a440800c450c79a987dd8/lib/carrierwave/downloader/base.rb#L40-L47), so the url passed in ImageUploader#duplicate_from must be unencoded.

Carrierwave::Downloader#process_uri encodes uri again,
so the url passed in ImageUploader#duplicate_from must be unencoded.
@fonglh
Copy link
Member

fonglh commented Sep 13, 2019

Should be the same issue as reported in carrierwaveuploader/carrierwave#2415

@trangmei trangmei merged commit 7855619 into Coursemology:master Sep 13, 2019
@trangmei trangmei deleted the trang/carrierwave-s3-download branch September 13, 2019 07:14
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 this pull request may close these issues.

None yet

2 participants