summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-09 18:43:53 +0100
committerGitHub <noreply@github.com>2019-11-09 18:43:53 +0100
commit9369fd98a033c5499e7e512284f0ad6dec0c3358 (patch)
tree77f95ac4ca175c404576bfa98a3f976e3587cd46
parent0bfd06a9111158c6e9f59ea28209077fb072e88b (diff)
parenta0fd4504152dcdf991d021254d217f1e96f5accd (diff)
Merge pull request #33486 from piratesephiroth/uwp
[UWP] [Export] added additional checks for blank values
-rw-r--r--platform/uwp/export/export.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index fefad3584b..557699cf37 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -1144,11 +1144,21 @@ public:
return valid;
}
+ if (!_valid_resource_name(p_preset->get("package/short_name"))) {
+ valid = false;
+ err += TTR("Invalid package short name.") + "\n";
+ }
+
if (!_valid_resource_name(p_preset->get("package/unique_name"))) {
valid = false;
err += TTR("Invalid package unique name.") + "\n";
}
+ if (!_valid_resource_name(p_preset->get("package/publisher_display_name"))) {
+ valid = false;
+ err += TTR("Invalid package publisher display name.") + "\n";
+ }
+
if (!_valid_guid(p_preset->get("identity/product_guid"))) {
valid = false;
err += TTR("Invalid product GUID.") + "\n";