about summary refs log tree commit homepage
path: root/http_common.rl
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-09-03 17:27:06 +0000
committerEric Wong <e@80x24.org>2014-09-03 17:27:06 +0000
commit6ac46bfadaf61d89149e215ad6dcff76ee1a90ae (patch)
tree8a7524caf2ab0aa1d81170699cad59510d5f151e /http_common.rl
parent4fbe02062007d1ad073a550f5e37b599fc0019e4 (diff)
downloadcmogstored-empty-header-values.tar.gz
Diffstat (limited to 'http_common.rl')
-rw-r--r--http_common.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_common.rl b/http_common.rl
index a0fdd5a..4df7f42 100644
--- a/http_common.rl
+++ b/http_common.rl
@@ -10,7 +10,7 @@
         eor = LWS*'\r'LF;
         CTL = (cntrl | 127);
         header_name = [a-zA-Z0-9\-]+;
-        header_value = (any -- (LWS|CTL))(any -- CTL)*;
+        header_value = (any -- CTL)*;
         sep = (LWS*)|(eor LWS+);
         b64_val = ([a-zA-Z0-9/+]{22}) > {
                         http->_p.tmp_tip = to_u16(fpc - buf);