Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartbrew/chartbrew
/ logoUploadSecurity.test.js
File
logoUploadSecurity.test.js
server/tests/unit/logoUploadSecurity.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"vitest"
;
2
3
const
{
4
MAX_LOGO_UPLOAD_SIZE_BYTES,
Callers
nothing calls this directly
Calls
4
isAllowedLogoMimeType
Function · 0.85
isValidLogoImageBuffer
Function · 0.85
buildSafeLogoFilename
Function · 0.85
resolveSafeUploadPath
Function · 0.85
Tested by
no test coverage detected