6 Commits

Author SHA1 Message Date
Yang Luo
da41ac7275 Improve error handling in getFaviconFileBuffer() 2023-11-25 18:31:33 +08:00
Yang Luo
d090e9c860 Improve downloadImage() 2023-11-10 08:35:21 +08:00
Alex OvsInc
6ebca6dbe7
fix: Gosec/sec fixes (#2004)
* Customization of the initialization file

* fix: G601 (CWE-118): Implicit memory aliasing in for loop

* fix: G304 (CWE-22): Potential file inclusion via variable

* fix: G110 (CWE-409): Potential DoS vulnerability via decompression bomb
2023-06-21 18:55:20 +08:00
Xinhao Yuan
f6f4d44444
feat: remove url.JoinPath() to be compatible with Go 1.17 (#1995) 2023-06-20 17:44:40 +08:00
Yang Luo
ac4b870309 Improve getFaviconFileBuffer() 2023-06-17 12:50:01 +08:00
Yang Luo
b9140e2d5a Refactor refreshAvatar() 2023-06-17 11:43:46 +08:00