[Oisf-users] Matching on normalized HTTP headers - CRLF or LF?

Darren Spruell phatbuckett at gmail.com
Fri Jun 19 06:39:32 UTC 2015


For normalized HTTP headers, and with PCRE /W modifier for the
http_host buffer (for example), does matching end of buffer accept a
bare $ anchor or is the header's \r\n / 0x0d0a / CRLF left intact?

Wondering for example if matching Host headers with the glob *.in
should be done as:

pcre:"/\.in$/W";

or:

pcre:"/\.in\r$/W";

-- 
Darren Spruell
phatbuckett at gmail.com


More information about the Oisf-users mailing list