mirror of
https://github.com/AlistGo/alist.git
synced 2025-07-14 04:19:12 +08:00
feat: ipa name decode
This commit is contained in:
@ -35,6 +35,10 @@ func Plist(c *gin.Context) {
|
||||
ipaIndex := strings.Index(name, ".ipa")
|
||||
if ipaIndex != -1 {
|
||||
name = name[:ipaIndex]
|
||||
decodeName, err := url.PathUnescape(name)
|
||||
if err == nil {
|
||||
name = decodeName
|
||||
}
|
||||
}
|
||||
name = strings.ReplaceAll(name, "<", "[")
|
||||
name = strings.ReplaceAll(name, ">", "]")
|
||||
|
Reference in New Issue
Block a user