Pre Merge pull request !333 from sonhuagao007/dev

This commit is contained in:
sonhuagao007 2025-05-03 22:31:44 +00:00 committed by Gitee
commit bf7579b878
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -45,9 +45,10 @@ public class SaOAuth2DataConverterDefaultImpl implements SaOAuth2DataConverter {
if(SaFoxUtil.isEmpty(scopeString)) {
return new ArrayList<>();
}
// 兼容以下三种分隔符空格逗号%20
// 兼容以下三种分隔符空格逗号%20加号
scopeString = scopeString.replaceAll(" ", ",");
scopeString = scopeString.replaceAll("%20", ",");
scopeString = scopeString.replaceAll("+", ",");
return SaFoxUtil.convertStringToList(scopeString);
}