-
Notifications
You must be signed in to change notification settings - Fork 36
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
Getting properties throws NullReferenceException #71
Comments
* Now prevent users from get/set props when buckets have slashes in the name. * Be more defensive when reading properties out of JSON when loading extended props. * URL encode buckets through HTTP calls. * Prevent HTTP 400s from pulling nodes out of the pool.
It's worth noting that this changeset includes code which deliberately stops bucket property setting and getting if the bucket contains a forward slash. URL encoding this doesn't have any affect on the issue, so there's no point in relying on that. Instead, we just reject it and say it's invalid. If we don't, then the interaction with Riak is not what you would expect. Hence this is why I decided to do this. Thoughts? |
worksforme Jeremiah Peschka - Founder, Brent Ozar Unlimited On Thu, Feb 7, 2013 at 5:21 PM, OJ Reeves notifications@github.com wrote:
|
OK, I might just close this issue then. We'll get this out in the next release. |
When getting properties on an incorrectly named bucket, CorrugatedIron throws a NullReferenceException. Riak is returning a 404. CorrugatedIon should return a more polite error message instead of falling down and crying.
The text was updated successfully, but these errors were encountered: