mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2025-12-07 17:28:25 +08:00
🐛 解决企业微信授权后,回调地址中原有的参数丢失的问题
This commit is contained in:
parent
fa75568996
commit
0f42457d91
@ -149,7 +149,7 @@ public class GlobalAuthUtils {
|
|||||||
if (StringUtils.isEmpty(url)) {
|
if (StringUtils.isEmpty(url)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return url.startsWith("http://");
|
return url.startsWith("http://") || url.startsWith("http%3A%2F%2F");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -162,7 +162,7 @@ public class GlobalAuthUtils {
|
|||||||
if (StringUtils.isEmpty(url)) {
|
if (StringUtils.isEmpty(url)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return url.startsWith("https://");
|
return url.startsWith("https://") || url.startsWith("https%3A%2F%2F");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user