diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 9bf1bf28141d4..fdea272aa58a9 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1098,7 +1098,7 @@ function generate_version_info_resource(makefiletarget, basename, creditspath, s if (thanks == null) { thanks = ""; } else { - thanks = "Thanks to " + thanks; + thanks = "Thanks to " + thanks.replace(/([<>&|%])/g, "^$1").replace(/"/g, '\\"\\"'); } credits.Close(); }