MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / decodePathParam

Function decodePathParam

src/Components/RouteUtils.js:5–8  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3}
4
5export function decodePathParam(value) {
6 // React Router decodes path params once before loaders/components receive them.
7 return value;
8}
9
10function hasUnsafeRedirectCharacter(path) {
11 return Array.from(path).some((char) => {

Callers 15

loaderFunction · 0.90
actionFunction · 0.90
loaderFunction · 0.90
actionFunction · 0.90
loaderFunction · 0.90
DataPointsLoaderFunction · 0.90
actionFunction · 0.90
DataPointsActionFunction · 0.90
ProfileHeaderFunction · 0.90
loaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected