From 2411afb2c4e38d7513f5e980773d005fb8eac16e Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Sat, 3 Sep 2022 00:14:13 -0700 Subject: [PATCH] Remove file extension validation in upload form (#826) * Remove file extension validation in upload form. Improve on the related help text. * Split up image and archive file suffixes. --- python/web/src/templates/index.html | 9 +++++---- python/web/src/web.py | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/python/web/src/templates/index.html b/python/web/src/templates/index.html index e2d86f57..5a8cc522 100644 --- a/python/web/src/templates/index.html +++ b/python/web/src/templates/index.html @@ -156,6 +156,8 @@
  • {{ _("Select a valid SCSI ID and LUN to attach to. Unless you know what you're doing, always use LUN 0.", url="https://en.wikipedia.org/wiki/Logical_unit_number") }}
  • {{ _("If RaSCSI was unable to detect the media type associated with the image, you get to choose the type from the dropdown.") }}
  • +
  • {{ _("Recognized image file types: %(valid_image_suffixes)s", valid_image_suffixes=valid_image_suffixes) }}
  • +
  • {{ _("Recognized archive file types: %(ARCHIVE_FILE_SUFFIXES)s", ARCHIVE_FILE_SUFFIXES=ARCHIVE_FILE_SUFFIXES) }}
  • @@ -378,9 +380,9 @@ {{ _("Upload File") }} @@ -394,7 +396,6 @@