gitea/routers
silverwind 1e6fa57acb
Use single shared random string generation function (#15741)
* Use single shared random string generation function

- Replace 3 functions that do the same with 1 shared one
- Use crypto/rand over math/rand for a stronger RNG
- Output only alphanumerical for URL compatibilty

Fixes: #15536

* use const string method

* Update modules/avatar/avatar.go

Co-authored-by: a1012112796 <1012112796@qq.com>

Co-authored-by: a1012112796 <1012112796@qq.com>
2021-05-10 07:45:17 +01:00
..
admin
api/v1 [API] make change repo settings work on empty repos (#15778) 2021-05-08 14:11:36 +02:00
dev
events
org
private
repo On open repository open common cat file batch and batch-check (#15667) 2021-05-10 03:27:03 +02:00
routes Return go-get info on subdirs (#15642) 2021-05-09 22:50:06 +01:00
user Use single shared random string generation function (#15741) 2021-05-10 07:45:17 +01:00
utils
home.go
init.go
install.go
metrics.go
swagger_json.go