MCPcopy Index your code
hub / github.com/simstudioai/sim / validateProxyUrl

Function validateProxyUrl

apps/sim/lib/core/security/input-validation.ts:793–798  ·  view source on GitHub ↗
(
  url: string | null | undefined,
  paramName = 'proxyUrl'
)

Source from the content-addressed store, hash-verified

791 * Alias for validateExternalUrl for backward compatibility
792 */
793export function validateProxyUrl(
794 url: string | null | undefined,
795 paramName = 'proxyUrl'
796): ValidationResult {
797 return validateExternalUrl(url, paramName)
798}
799
800/**
801 * Checks if an IP address is private or reserved (not routable on the public internet)

Callers 2

route.test.tsFile · 0.90

Calls 1

validateExternalUrlFunction · 0.85

Tested by

no test coverage detected