MCPcopy Index your code
hub / github.com/massCodeIO/massCode / decodeQueryPart

Function decodeQueryPart

src/main/http/import/normalize.ts:92–99  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

90}
91
92function decodeQueryPart(value: string): string {
93 try {
94 return decodeURIComponent(value.replace(/\+/g, ' '))
95 }
96 catch {
97 return value
98 }
99}
100
101export function splitUrlAndQuery(rawUrl: string): {
102 url: string

Callers 1

splitUrlAndQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected