[Scummvm-git-logs] scummvm master -> 395aa1064487068bf9ee72d899d140816d732063

phcoder noreply at scummvm.org
Tue Dec 20 09:05:16 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
395aa10644 COMMON: Add missing escaping in Common::Path.


Commit: 395aa1064487068bf9ee72d899d140816d732063
    https://github.com/scummvm/scummvm/commit/395aa1064487068bf9ee72d899d140816d732063
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2022-12-20T10:04:55+01:00

Commit Message:
COMMON: Add missing escaping in Common::Path.

Changed paths:
    common/path.cpp


diff --git a/common/path.cpp b/common/path.cpp
index 7adb03e01b3..c824b723d3c 100644
--- a/common/path.cpp
+++ b/common/path.cpp
@@ -280,7 +280,7 @@ Path Path::joinComponents(const StringArray& c) {
 	String res;
 
 	for (uint i = 0; i < c.size(); i++) {
-		res += c[i];
+		res += escapePath(c[i]);
 		if (i + 1 < c.size())
 			res += DIR_SEPARATOR;
 	}




More information about the Scummvm-git-logs mailing list