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

Retrieve original does not work for images in root path that start with modifier letter #25

Open
hilkeheremans opened this issue Sep 8, 2016 · 0 comments
Labels

Comments

@hilkeheremans
Copy link

The bug:
A call to http://<url>/some/path/cistf72.jpg works fine.
A call to http://<url>/cistf72.jpg does not.

Some investigating revealed that the parse method in modifiers.js calls parseModifiers even when no path is provided. Since the first letter of the filename above is a modifier, it will set the hasModStr variable to true, which in turn cases trouble in image.js.

The end result is that images that (1) are in the root path and (2) start with a filename w/modifier string can never be retrieved by original.

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

No branches or pull requests

2 participants