fix for % in filenames

This commit is contained in:
Kyle Drake 2025-08-08 14:12:45 -05:00
parent 690f2f3c80
commit a270d266c5
4 changed files with 70 additions and 2 deletions

View file

@ -1229,7 +1229,8 @@ class Site < Sequel::Model
# https://practicingruby.com/articles/implementing-an-http-file-server?u=dc2ab0f9bb
def scrubbed_path(path='')
path ||= ''
path = path.to_s
clean = []
parts = path.to_s.split '/'