This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #139 from milagre/patch-1

Fix issue where a POST/GET to 'solandra/schemas/...' would be interpreted as a valid url, but would not properly create the core.
  • Loading branch information...
tjake committed Oct 14, 2011
2 parents 7c06aae + 92e435b commit 65d451513c7b31d4fbcafb6572e92d7853af14f1
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 65d4515

Please sign in to comment.