amate / Proxydomo

ローカルで動作するプロクシフィルタリングソフトです
http://www31.atwiki.jp/lafe/pages/37.html
GNU General Public License v2.0
74 stars 12 forks source link

"Not match" for header #25

Closed 0rt closed 8 years ago

0rt commented 8 years ago
[HTTP headers]
Key = "Referer: thirdparty"
In = FALSE
Out = TRUE
Version = ""
Author = ""
Comment = ""
Active = TRUE
Multi = FALSE
URL = "$LST(third)"
Bounds = ""
Limit = 256
Match = "^\h"
Replace = "\k"

This rule meant for "Only allow request by its own host", but it doesn't work as expected. why "^" is not working?

0rt commented 8 years ago

oh, got it, it should be ^*\h , there are other string like "http" in fornt of host...