Fix legacy redirect for uploads