Skip to content

URI escape file upload URLs

shadowfacts requested to merge shadowfacts/pleroma:media-url-escape into develop

Otherwise uploading a file whose name contains invalid characters will produce a URL that's technically invalid. This comes up most often with spaces, but happens with any Unicode character, e.g. the ellipsis in https://pl.smuglo.li/media/cd10a6cd-b1ce-478b-97d1-941997969917/himekawa …probably.png

Merge request reports