1
0
mirror of https://github.com/labstack/echo.git synced 2025-06-15 00:14:57 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
a842444e8f Add SPDX licence comments to files. See https://spdx.dev/learn/handling-license-info/ (#2604) 2024-03-09 11:21:24 +02:00
e6b96f8873 docs: add comments to util.go randomString (#2494)
* Update util.go
2023-07-22 23:47:35 +03:00
b3ec8e0fdd fix(sec): randomString bias (#2492)
* fix(sec): `randomString` bias when using bytes vs int64
* use pooled buffed random reader
2023-07-22 07:08:34 +03:00
626f13e338 CSRF/RequestID mw: switch math/random usage to crypto/random 2023-07-21 13:10:56 +03:00
1f6cc362cc Set subdomains to AllowOrigins with wildcard (#1301)
* Set subdomains to AllowOrigins with wildcard

* Create IsSubDomain

* Avoid panic when pattern length smaller than domain length

* Change names, improve formula
2019-03-09 10:32:49 -08:00