amate / Proxydomo

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

$TYPE() broken after 1.06? #58

Closed nhantrn closed 5 years ago

nhantrn commented 6 years ago

I've this rule to skip filtering js. I used $TYPE(js) instead of using the Key header name "Content-Type:"

[HTTP headers]
Key = "Skip Filtering Javascript"
In = TRUE
Out = FALSE
Active = TRUE
Multi = FALSE
URL = ""
Limit = 256
Match = "$TYPE(js)$FILTER(false)"
Replace = ""

This works fine in 1.05, but failed in 1.06 and 1.07. I assume it has something to do with the Content-Type changes. Are $TYPE() obsolete?

K1GP commented 6 years ago

This filter failed too in 1.07

`[HTTP headers] Key = "Content-Type: Force-Filtering" In = TRUE Out = FALSE Version = "" Author = "" Comment = "Force filtering specific content-type file" Active = TRUE Multi = FALSE URL = "$TYPE(json)www.douyu.com/gapi/rkc/directory/" Bounds = "" Limit = 256 Match = "[^/]+/json&$FILTER(true)(^)" Replace = ""

`

amate commented 5 years ago

v1.108 fixed

nhantrn commented 5 years ago

That seem to fixed it. Thanks!