MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / isSessionEndpoint

Function isSessionEndpoint

packages/server/src/utils/XSS.ts:54–57  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

52]
53
54function isSessionEndpoint(url: string): boolean {
55 const path = url.split('?')[0].toLowerCase()
56 return SESSION_ENDPOINTS.some((ep) => path === ep || path.startsWith(ep + '/'))
57}
58
59function parseAllowedOrigins(allowedOrigins: string): string[] {
60 if (!allowedOrigins) {

Callers 1

getCorsOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected