diff --git a/lib/util/index.js b/lib/util/index.js
index <HASH>..<HASH> 100644
--- a/lib/util/index.js
+++ b/lib/util/index.js
@@ -804,7 +804,7 @@ exports.getQueryValue = function(value) {
   return value || '';
 };
 
-var KV_RE = /^([^:=&]+):([^=&]+)$/;
+var KV_RE = /^([^:=&]+):([^=&]*)$/;
 
 function parseInlineJSON(text, isValue) {
   if (/\s/.test(text) || (!isValue && (/\\|\//.test(text) && !/^&/.test(text)))) {
refactor: parse json