Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1Panel-dev/1Panel
/ isSafeIdentifier
Function
isSafeIdentifier
agent/middleware/operation.go:206–208 ·
view source on GitHub ↗
(val string)
Source
from the content-addressed store, hash-verified
204
}
205
206
func
isSafeIdentifier(val string) bool {
207
return
re.GetRegex(re.SQLIdentifierPattern).MatchString(val)
208
}
Callers
1
resolveOperationValues
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected