Initial commit (Clean history)

This commit is contained in:
anhduy-tech
2025-12-30 11:27:14 +07:00
commit ef48c93de0
19255 changed files with 3248867 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
def uri_to_zip_entry_name(base, uri):
if uri.startswith("/"):
return uri[1:]
else:
return base + "/" + uri
def replace_fragment(uri, fragment):
hash_index = uri.find("#")
if hash_index != -1:
uri = uri[:hash_index]
return uri + "#" + fragment