Permalink
Browse files

Fixed issue where a POST to 'solandra/schemas/...' would be interpret…

…ed as a valid core creation, but would not properly create the core.
  • Loading branch information...
1 parent 7c06aae commit 92e435be46463fdd829eef05b32915ec75a10d93 @milagre milagre committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/solandra/SolandraDispatchFilter.java
@@ -60,7 +60,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
// otherwise, we should find a index from the path
int idx = path.indexOf("/", 1);
- if (idx > 1)
+ if (idx == schemaPrefix.length)
{
// try to get the index as a request parameter first
indexName = path.substring(1, idx);

0 comments on commit 92e435b

Please sign in to comment.