From 0bb67744735b7a529a3e39c8da6cfcfc9081f940 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 28 Jun 2019 15:16:29 -0700 Subject: [PATCH] add some rss-related file types to whitelist --- models/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/site.rb b/models/site.rb index 8998df42..42a5130c 100644 --- a/models/site.rb +++ b/models/site.rb @@ -39,11 +39,11 @@ class Site < Sequel::Model } VALID_EXTENSIONS = %w{ - html htm txt text css js jpg jpeg png gif svg md markdown eot ttf woff woff2 json geojson csv tsv mf ico pdf asc key pgp xml mid midi manifest otf webapp less sass rss kml dae obj mtl scss webp xcf epub gltf bin webmanifest knowl + html htm txt text css js jpg jpeg png gif svg md markdown eot ttf woff woff2 json geojson csv tsv mf ico pdf asc key pgp xml mid midi manifest otf webapp less sass rss kml dae obj mtl scss webp xcf epub gltf bin webmanifest knowl atom opml rdf } VALID_EDITABLE_EXTENSIONS = %w{ - html htm txt js css scss md manifest less webmanifest + html htm txt js css scss md manifest less webmanifest xml json opml rdf } MINIMUM_PASSWORD_LENGTH = 5