mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-22 12:58:45 +08:00
feat: ipa name decode
This commit is contained in:
parent
4ae81b5a79
commit
b44243c021
@ -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, ">", "]")
|
||||
|
Loading…
x
Reference in New Issue
Block a user