Show
Ignore:
Timestamp:
12/16/11 04:42:17 (2 years ago)
Author:
Tomaz Muraus <tomaz@tomaz.me>
git-committer:
Tomaz Muraus <tomaz@tomaz.me> 1324010537 -0800
git-parent:

[81344bea7c4f3e0a7a559dc27488f6ae11dbafdd]

git-author:
Tomaz Muraus <tomaz@tomaz.me> 1324010537 -0800
Message:

Make sure body_match is present at the beginning of the string.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/noit/module/http.lua

    r81344be re4919ce  
    516516      m = string.find(key, BODY_MATCHES_PREFIX) 
    517517 
    518       if m then 
     518      if m == 1 then 
    519519        has_body_matches = true 
    520520        key = string.gsub(key, BODY_MATCHES_PREFIX, '')