SVG files don't seem to get uploaded in forms
It seems that when uploading an SVG file in a form upload field, it doesn't get saved. My guess is that it has to do with
RETURN wrapped.mimetype LIKE "image/*" ? GetCachedFSImageURL("", CreateTempUploadedFile(wrapped)->id, [method := "none", fixorientation := TRUE])
: GetCachedFSFileURL("", CreateTempUploadedFile(wrapped)->id);
where mimetype is "image/svg+xml", which GetCachedFSImageURL doesn't understand in turn and returns an empty string.
Of course, it can be due to something else entirely :-)
Form results, first try SVG (no file), second try JPG (a file):
SVG: