Changeset 13187 in project


Ignore:
Timestamp:
02/05/09 20:49:52 (11 years ago)
Author:
sjamaan
Message:

Remove nonspace match, so empty headers are allowed. This fixes a bug reported by Drew Hess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/http/trunk/http-utils.scm

    r9415 r13187  
    8686(define http:read-request-attributes
    8787  (let ((rx (if (feature? 'pregexp)
    88                 "([\\-A-Za-z0-9]+):[ ]*([^ ].*)"
    89                 "([-A-Za-z0-9]+):[ ]*([^ ].*)") ) )
     88                "([\\-A-Za-z0-9]+):[ ]*(.*)"
     89                "([-A-Za-z0-9]+):[ ]*(.*)") ) )
    9090    (lambda (port)
    9191      (let ([limit (http:read-line-limit)]
Note: See TracChangeset for help on using the changeset viewer.