Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Update PluginController.cs
support30422f9789c6
diff --git a/src/Web/Grand.Web.Admin/Controllers/PluginController.cs b/src/Web/Grand.Web.Admin/Controllers/PluginController.csindex 100370288..60dadd16f 100644--- a/src/Web/Grand.Web.Admin/Controllers/PluginController.cs+++ b/src/Web/Grand.Web.Admin/Controllers/PluginController.cs@@ -306,8 +306,7 @@ namespace Grand.Web.Admin.Controllersvar zipFilePath = "";try{- if (!Path.GetExtension(zippedFile.FileName)- ?.Equals(".zip", StringComparison.InvariantCultureIgnoreCase) ?? true)+ if (!Path.GetExtension(zippedFile.FileName).Equals(".zip", StringComparison.InvariantCultureIgnoreCase))throw new Exception("Only zip archives are supported");//ensure that temp directory is created