Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ escapeCqlValue
Function
escapeCqlValue
apps/sim/app/api/tools/confluence/search/route.ts:46–46 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
44
}
45
46
const
escapeCqlValue = (value: string) => value.replace(/\\/g,
'\\\\'
).replace(/
"/g, '\\"
')
47
48
const
searchParams =
new
URLSearchParams({
49
cql: `text ~
"${escapeCqlValue(query)}"
`,
Callers
1
route.ts
File · 0.70
Calls
1
replace
Method · 0.65
Tested by
no test coverage detected