mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve Config Filter support https
This commit is contained in:
@@ -169,7 +169,7 @@ public class ConfigFilter extends FilterAdapter {
|
||||
InputStream inStream = null;
|
||||
try {
|
||||
boolean xml = false;
|
||||
if (filePath.startsWith("http://")) {
|
||||
if (filePath.startsWith("http://") || filePath.startsWith("https://")) {
|
||||
URL url = new URL(filePath);
|
||||
inStream = url.openStream();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user