Minio中文路径造成无法下载问题.net core解决办法
//后端需要对含有中文的路径进行加密
var encodedFilePath= Encoding.UTF8.GetString(Convert.FromBase64String(filePath));
var lastFilePath = HttpUtility.UrlDecode(encodedFilePath);
// 前端使用TS, 对url 进行编码
encodeURIComponent(imagePath)
Minio中文路径造成无法下载问题.net core解决办法
//后端需要对含有中文的路径进行加密
var encodedFilePath= Encoding.UTF8.GetString(Convert.FromBase64String(filePath));
var lastFilePath = HttpUtility.UrlDecode(encodedFilePath);
// 前端使用TS, 对url 进行编码
encodeURIComponent(imagePath)