Permalink
Browse files

Wrap key:value requests in quotes to preserve user intention.

  • Loading branch information...
1 parent a7fc7ec commit 54e3d36d4a250d30575b2f374ff147e6622ba9d5 @GraylinKim GraylinKim committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/gov/nysenate/openleg/api/KeyValueViewRequest.java
@@ -27,7 +27,7 @@ public KeyValueViewRequest(HttpServletRequest request, HttpServletResponse respo
String format, String key, String value, String pageNumber, String pageSize) {
super(request, response, pageNumber, pageSize, format, getApiEnum(KeyValueView.values(),key));
this.key = key;
- this.value = value;
+ this.value = "\""+value+"\"";
}
@Override

0 comments on commit 54e3d36

Please sign in to comment.