Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

View File

@@ -34,6 +34,15 @@ function decodeComponentChar (highCharCode, lowCharCode) {
return null
}
/**
* Safely decodes a URI path, preserving reserved characters in querystring.
*
* @param {string} path - The full request path, possibly including querystring.
* @param {boolean} [useSemicolonDelimiter] - When true, also treat `;` as a query delimiter.
* @returns {{ path: string, querystring: string, shouldDecodeParam: boolean }}
* An object containing the decoded path, the raw querystring, and a flag indicating
* whether any path parameters contain percent-encoded reserved characters.
*/
function safeDecodeURI (path, useSemicolonDelimiter) {
let shouldDecode = false
let shouldDecodeParam = false