add some rss-related file types to whitelist

This commit is contained in:
Kyle Drake 2019-06-28 15:16:29 -07:00
parent c5d0194946
commit 0bb6774473

View file

@ -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