Backend half

This commit is contained in:
Donat committed 2025-07-11 19:56:28 +02:00
1 parent fa868e7c1d
commit 8600fa7c1d
19426 files changed
+3750448 -8108

No files matched your search

@@ -0,0 +1,2 @@
import { escapeUri } from "./escape-uri";
export const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/");
@@ -0,0 +1,2 @@
export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
@@ -0,0 +1,2 @@
export * from "./escape-uri";
export * from "./escape-uri-path";