Skip to content

Commit 11349fa

Browse files
committed
Add SYNC comment reminder
1 parent 280c105 commit 11349fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/public/shared/UrlBuilder.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class UrlBuilder {
6161
// a) Call encodeURIComponent() on the file path. (This allows file paths to contain ANY character.)
6262
// b) Replace all occurrences of "%2F" with "/". (Allows file paths to appear as hierarchical paths on the URL.)
6363
// c) Replace all occurrences of "!" with "%21". (Prevents file paths with "!" inside being treated as "query bangs".)
64+
// SYNC: FileUrlUtils.makeFileUrl (internal)
6465
const filePathEncoded = encodeURIComponent(params.filePath).replace(/%2F/g, "/").replace(/!/g, "%21");
6566
return `${cdnUrl}/${params.accountId}/${prefix}${filePathEncoded}`;
6667
}

0 commit comments

Comments
 (0)