MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / getURLSearch

Function getURLSearch

web/packages/shared/util/route.ts:139–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 * @returns 路由参数
138 */
139export const getURLSearch = () => qs.parse(window.location.search.replace('?', '')) as URLSearch;
140
141/**
142 * 防止url调整漏洞,对回调地址进行校验

Callers 5

GitOAuthCallbackFunction · 0.90
useURLSearchFunction · 0.90
onSubmitFunction · 0.90

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected