Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ isAllowedJsonpUrl
Method
isAllowedJsonpUrl
packages/common/http/src/jsonp.ts:302–304 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
300
}
301
302
private isAllowedJsonpUrl(url: string): boolean {
303
return
/^https?:\/\
//i.test(url);
304
}
305
}
306
307
/**
Callers
1
handle
Method · 0.95
Calls
1
test
Method · 0.45
Tested by
no test coverage detected