i7MEDIA / mojoportal

mojoPortal is an extensible, cross database, mobile friendly, web content management system (CMS) and web application framework written in C# ASP.NET.
https://www.mojoportal.com
Other
197 stars 100 forks source link

File Manager - when compressing items into a zip check for .zip extension in given file name #221

Closed Isaac-Hall closed 8 months ago

Isaac-Hall commented 1 year ago

Browse to File Manager, select two items, right click and choose "compress", then type in any file name without ".zip" extension. It creates the file correctly, but because the file has no extension it doesn't display in the file manager, which for the user appears like it failed to create the zip with no error.

We should either detect ".zip" in the file name string and add it if it's missing, or at least fail gracefully by telling the user to include a file extension in the name they enter.