handle null returned by parameter map val for servlet args

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@395379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2006-04-19 20:05:06 +00:00
parent c2338fca20
commit 9c9604b8a7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class SolrServletRequest extends SolrQueryRequestBase {
first=false;
sb.append(key);
sb.append('=');
StrUtils.partialURLEncodeVal(sb, val);
StrUtils.partialURLEncodeVal(sb, val==null ? "" : val);
}
}
}