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

Exercise 3C: Image manipulation service crashes when using unencoded % in resize param #26

Open
karenhanson opened this issue Dec 8, 2016 · 1 comment

Comments

@karenhanson
Copy link
Contributor

Exercise 3C, step 3
The following query crashes the image service. A server restart is required to get it working again:
http://localhost/services/images/filename.jpg/svc:image?options=-resize 50%
Note that the encoded version works fine and resizes the image as expected:
http://localhost/services/images/filename.jpg/svc:image?options=-resize%2050%25
There is nothing in the log to indicate an error. You get an empty browser window with no message. Applying encoding is the solution, but not encoding shouldn't take the service down, and there should be evidence that something went wrong through the log.

@dannylamb
Copy link

dannylamb commented Jan 12, 2017

I can confirm this issue as well. I attached to the acrepo container and checked the logs. From the logs, all subsequent requests are handled as if nothing went wrong. Fortunately I found this. Cycling the containers did the trick.

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

No branches or pull requests

2 participants