Backend half
This commit is contained in:
1 parent
fa868e7c1d
commit
8600fa7c1d
19426 files changed
+3750448
-8108
No files matched your search
Generated
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
import { escapeUri } from "./escape-uri";
|
||||
export const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/");
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
|
||||
const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from "./escape-uri";
|
||||
export * from "./escape-uri-path";
|
||||
Reference in new issue
Block a user