Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

URL encoding does not behave as expected #4

Open
nononoah opened this issue Sep 7, 2016 · 0 comments
Open

URL encoding does not behave as expected #4

nononoah opened this issue Sep 7, 2016 · 0 comments

Comments

@nononoah
Copy link

nononoah commented Sep 7, 2016

It seems as if the image source is expected to be url-encoded. When a source URL is passed that correctly references the underlying file's source, the request fails. Instead, a url-encoded request must be made for that file.

I'm not sure if this is an bug, per se, but there should be clear documentation around this behavior.

Example

Failure:

https://d1kx8iu4vujzmr.cloudfront.net/?source=https://s3.amazonaws.com/tapwiser-mexico-assets/Imagenes/03+premium/A0003B0019+Budweiser/BWbote-12-onz.png&width=150&height=130

Success:

https://d1kx8iu4vujzmr.cloudfront.net/?source=https://s3.amazonaws.com/tapwiser-mexico-assets/Imagenes/03%2Bpremium/A0003B0019%2BBudweiser/BWbote-12-onz.png?temp=+&width=600&height=220

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant