Commit Graph
15 Commits
Author SHA1 Message Date
Axel Duch e3af18834d Router: matching regular expressions support. 2020-11-17 15:03:30 +00:00
Axel Duch c3e6901f53 Configuration: fixed buffer over-read in pattern validation.
There was an undefined behavior in the validation function, caused by testing
one character after the string if a wildcard was at the end.
2020-07-28 14:51:33 +01:00
Axel Duch 29cf3cc6c1 Configuration: removing redundant check.
Thanks to 洪志道 (Hong Zhi Dao).
2020-07-24 17:10:26 +01:00
Axel Duch 85a1e083af Minor changes and renaming an NJS artifact to NXT.
This is partially related to #434 issue on Github.
Thanks to 洪志道 (Hong Zhi Dao).
2020-07-24 13:10:24 +01:00
Axel Duch b6792b00ae Router: route patterns multi wildcards fix.
Matching 'start' and 'end' position now adjusted to avoid false matching.

This is related to #434 issue on Github.
Thanks to 洪志道 (Hong Zhi Dao).
2020-07-10 10:28:53 +01:00
Axel Duch a9a21f6fe4 Router: route patterns multi wildcards support. 2020-07-04 03:24:07 +01:00
Axel Duch 26f407e24a Tests: decode uri and args. 2020-05-14 12:29:22 +02:00
Axel Duch ee1e248f4b Router: decode uri and args. 2020-05-14 12:29:06 +02:00
Axel Duch f302ed0670 Fixed negative patterns combined with address rules. 2020-03-11 14:18:39 +00:00
Axel Duch 4eb2d3086b Fixed missing IPv6 checking in route-addr and an unused variable.
This closes #363 issue on Github.
Thanks to to 洪志道 (Hong Zhi Dao).
2020-01-28 15:05:12 +00:00
Axel Duch 96a9a790a0 Tests: routing by listener address. 2019-12-24 13:59:58 +00:00
Axel Duch 1a76371499 Router: introducing routing on listener address. 2019-12-24 13:59:58 +00:00
Axel Duch ee8fa5d467 Tests: routing by client address configuration. 2019-12-24 13:58:22 +00:00
Axel Duch 8677bf8d41 Router: introducing routing on client address. 2019-12-24 13:58:10 +00:00
Axel Duch 7785c96c1a Added routing based on request scheme.
Scheme matches exact string “http” or “https”.
2019-07-24 13:47:35 +03:00