diff --git a/lib/philomena_web/views/image_view.ex b/lib/philomena_web/views/image_view.ex index 8a363ea9..7d003deb 100644 --- a/lib/philomena_web/views/image_view.ex +++ b/lib/philomena_web/views/image_view.ex @@ -124,6 +124,7 @@ defmodule PhilomenaWeb.ImageView do # https://stackoverflow.com/questions/265769/maximum-filename-length-in-ntfs-windows-xp-and-windows-vista file_name_slug_fragment = image.tags + |> display_order() |> Enum.map_join("_", & &1.slug) |> String.to_charlist() |> Enum.filter(&(&1 in ?a..?z or &1 in '0123456789_-+'))