improve Config Filter support https

This commit is contained in:
wenshao
2012-08-18 22:28:42 +08:00
parent 970bf5d427
commit cc6956c7df
2 changed files with 40 additions and 1 deletions
@@ -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();