mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
http: Fix paths with spaces in them.
Should ideally escape other characters, but only space is necessary for our server to parse.
This commit is contained in:
1 parent
41e167f384
commit
2b613443cd
1 file changed
+1
-1
@@ -95,7 +95,7 @@ static void ExecuteServer() {
|
||||
// Let's not serve directories, since they won't work. Only single files.
|
||||
// Maybe can do PBPs and other files later. Would be neat to stream virtual disc filesystems.
|
||||
if (endsWithNoCase(basename, ".cso") || endsWithNoCase(basename, ".iso")) {
|
||||
paths[basename] = filename;
|
||||
paths[ReplaceAll(basename, " ", "%20")] = filename;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user