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
Unhandled exception if user/by_username ist passed a pipe (|) #339
Comments
Thanks! I've seen this error before, but never got to fixing it... (I think I should also try to "ban" this character in OCPL usernames, fortunatelly there are not so many of such usernames...) |
Are you sure that there are such usernames in OCPL database? The current OCPL code does not allow them: clicompatbase.php, line 47: |
You're right. There are none. ;) On Fri, Jul 31, 2015 at 10:05 PM, following5 notifications@github.com
I took an IQ test and the results were negative. |
When services/users/by_username is called with a username parameter containing a pipe char (|), OKAPI will thrown an unhandled exception. Instead, it should report an invalid username error. I will fix this.
The text was updated successfully, but these errors were encountered: