Author: rsearls
Date: 2014-10-28 10:54:33 -0400 (Tue, 28 Oct 2014)
New Revision: 19034
Modified:
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java
Log:
[JBWS-3851] checking for https for schema imports
Modified:
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java 2014-10-27
18:26:59 UTC (rev 19033)
+++
common/trunk/src/main/java/org/jboss/ws/common/utils/AbstractWSDLFilePublisher.java 2014-10-28
14:54:33 UTC (rev 19034)
@@ -207,7 +207,7 @@
final String ln = childElement.getLocalName();
if ("import".equals(ln) || "include".equals(ln)) {
String schemaLocation =
childElement.getAttribute("schemaLocation");
- if (schemaLocation.length() > 0 &&
schemaLocation.startsWith("http://") == false)
+ if (schemaLocation.length() > 0 &&
schemaLocation.startsWith("http://") == false &&
schemaLocation.startsWith("https://") == false)
{
// infinity loops prevention
if (!published.contains(schemaLocation))
Show replies by date