Fixed repo server not serving space-names

This commit is contained in:
Mark Qvist 2025-11-27 23:28:29 +01:00
commit d97795de9d

View file

@ -5110,8 +5110,7 @@ class SidebandCore():
self.wfile.write(es.encode("utf-8"))
else:
try:
with open(path, 'rb') as f:
data = f.read()
with open(path.replace("%20", " "), "rb") as f: data = f.read()
self.send_response(200)
if path.lower().endswith(".apk"):
self.send_header("Content-type", "application/vnd.android.package-archive")