Documentation
Preparing search index...
@saltcorn/data
utils
mergeIntoWhere
Function mergeIntoWhere
mergeIntoWhere
(
where
:
Where
,
newWhere
:
GenObj
)
:
Where
Sanitizes a relative URL string.
Ensures it starts with /
Resolves away path traversal sequences (../../etc)
Preserves query string and hash
Parameters
where
:
Where
newWhere
:
GenObj
Returns
Where
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Sanitizes a relative URL string.