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

Image url doesn't allow for an _IMAGE_NAME_ with '-' or multiple '.' #11

Open
SamWyld opened this issue Sep 1, 2017 · 1 comment
Open

Comments

@SamWyld
Copy link

SamWyld commented Sep 1, 2017

When trying to query an image using this format: https://images.graph.cool/v1/__PROJECT_ID__/__FILE_SECRET__/__IMAGE_NAME__.__EXTENSION__

If the image name has includes '-' or multiple '.' it will fail and return this error:
Error: Invalid resize, crop pattern or name of image: image-name.jpg

@schickling
Copy link
Contributor

Thanks a lot for bringing this up! Would you mind adding a few test cases as a PR which reproduce the problem?

Bonus points for also adding the solution to the PR :)

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

No branches or pull requests

2 participants