[stable31] fix(files_sharing): make legacy downloadShare endpoint compatible with legacy behavior
#58467
+52
−21