Commit Graph

16 Commits

Author SHA1 Message Date
Ali MJ Al-Nasrawy ceb91bb31f flatten 2021-06-27 10:42:51 +03:00
Ali MJ Al-Nasrawy 515e1089b1 remove unnecessary len
This is used to strore the number of static chrs after the last capture
group. However, we don't need this to calculate the totalmatched length,
we can inseted use the 0th capture group.
2021-06-27 00:06:40 +03:00
Ali MJ Al-Nasrawy 908583982f `match_path_checked`: dedup match arms 2021-06-26 21:14:17 +03:00
Ali MJ Al-Nasrawy a3ad7eb11c remove duplicate code `match_path*()` 2021-06-26 19:25:17 +03:00
Ali MJ Al-Nasrawy 3205ff93a4 simplify `ResourceDef::resource_path*()` 2021-06-26 15:23:16 +03:00
Ali MJ Al-Nasrawy 23b1f63345
router: handle newline char '\n' in url (#360) 2021-06-06 03:38:58 +01:00
Ali MJ Al-Nasrawy cf21df14f2
`Path`: fix unsafe malformed string (#359) 2021-06-05 18:29:00 +01:00
Ali MJ Al-Nasrawy a1bf8662c9
router: don't decode %25 to '%' (#357) 2021-06-06 01:34:16 +09:00
Ibraheem Ahmed 6f4d2220fa
store Cow in actix-router Path (#345) 2021-06-05 01:46:40 +01:00
Rob Ede 7749dfe46a
address msrv todo in router 2021-04-16 02:06:11 +01:00
fakeshadow bb27bac216
Add native tls support for actix_tls::connect module (#295)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-03-27 00:20:17 +00:00
Rob Ede 789e6a8a46
update ci (#284) 2021-02-24 09:48:41 +00:00
Rob Ede 4ec358575e
prepare actix-rt v2.0.0 release (#262) 2021-02-03 10:25:31 +00:00
Rob Ede cff9deb729
attribute nits 2021-01-26 09:45:43 +00:00
fakeshadow 636cef8868
service trait takes shared self reference (#247) 2021-01-23 03:06:22 +00:00
Rob Ede 93865de848
move router to actix-router 2020-12-31 02:29:27 +00:00