Commit graph

18 commits

Author SHA1 Message Date
yusing
4e2152db97 fix test 2025-02-06 18:14:07 +08:00
yusing
c1705a0209 rename rule.on.bypass to pass 2025-02-06 16:50:08 +08:00
yusing
08b5e739e0 add tests for rules.on 2025-02-06 16:50:08 +08:00
yusing
43ed860e18 rules: updated help message, make values optional, fixes tests 2025-02-06 16:50:08 +08:00
yusing
c61d893403 refactor, merge Entry, RawEntry and Route into one. Implement fileserver. Still buggy 2025-02-04 06:51:51 +08:00
yusing
e3e3f1dfdc fixed some tests 2025-01-29 09:40:37 +08:00
yusing
60f83bb7bf rules: remove the requirement of "path must start with /" 2025-01-29 08:57:42 +08:00
yusing
0ce7f29976 fix proxy rules behavior and implemented a few more rules and commands, dependencies upgrade 2025-01-11 12:22:42 +08:00
yusing
f2df756c17 fix rule parser 2025-01-11 02:14:22 +08:00
yusing
e7bb6bc798 fix bypass command 2025-01-10 06:48:41 +08:00
yusing
e28c4a1b4d fix: rules escaped backslash 2025-01-09 19:59:53 +08:00
yusing
f5708fd539 add rule.on directives "cookie", "form", "postform" 2025-01-09 19:05:18 +08:00
yusing
4ebe0abba0 fix: bypass rules should not check first 2025-01-09 18:17:05 +08:00
yusing
9d701ad671 add help messages to rules, updat url validation 2025-01-09 14:09:48 +08:00
yusing
4aee44fe11 fix rewrite omitting trailing slash, error msg update 2025-01-09 14:09:48 +08:00
yusing
642e6ebdc8 fix panic: Bad field name provided name 2025-01-09 04:44:55 +08:00
yusing
74828943a6 updated route rules implementation 2025-01-09 04:27:02 +08:00
yusing
a98b2bb71a updated implementation of rules 2025-01-08 13:50:34 +08:00