Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin Dahyabhai2017-11-07 13:25:55 -0500
committerNitin Dahyabhai2017-11-07 16:03:32 -0500
commitd533e5b053bd15e5ac4db533ecd2be2ffdc3e2ee (patch)
tree2d1bbe09b7547081f0170e8e7997e7e85379642a
parent6229816b8972e4500ddf32b5aea3c50f576b838f (diff)
downloadwebtools.sourceediting-d533e5b053bd15e5ac4db533ecd2be2ffdc3e2ee.tar.gz
webtools.sourceediting-d533e5b053bd15e5ac4db533ecd2be2ffdc3e2ee.tar.xz
webtools.sourceediting-d533e5b053bd15e5ac4db533ecd2be2ffdc3e2ee.zip
[496093] - [XML Schema Editor] Add Include/Import/Redefine does not allow HTTPS URIs
-rw-r--r--bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.wst.xsd.ui/pom.xml2
-rw-r--r--bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/wizards/XSDSelectIncludeFileWizard.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF
index 685278ec0..201ec61fe 100644
--- a/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %_UI_PLUGIN_NAME
Bundle-SymbolicName: org.eclipse.wst.xsd.ui; singleton:=true
-Bundle-Version: 1.2.600.qualifier
+Bundle-Version: 1.2.601.qualifier
Bundle-Activator: org.eclipse.wst.xsd.ui.internal.editor.XSDEditorPlugin
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
diff --git a/bundles/org.eclipse.wst.xsd.ui/pom.xml b/bundles/org.eclipse.wst.xsd.ui/pom.xml
index eddb66904..cf853966d 100644
--- a/bundles/org.eclipse.wst.xsd.ui/pom.xml
+++ b/bundles/org.eclipse.wst.xsd.ui/pom.xml
@@ -21,7 +21,7 @@
<groupId>org.eclipse.webtools.sourceediting</groupId>
<artifactId>org.eclipse.wst.xsd.ui</artifactId>
- <version>1.2.600-SNAPSHOT</version>
+ <version>1.2.601-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<!-- added this "constraint" for bug 458962 -->
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/wizards/XSDSelectIncludeFileWizard.java b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/wizards/XSDSelectIncludeFileWizard.java
index 40c1bef07..297689cc5 100644
--- a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/wizards/XSDSelectIncludeFileWizard.java
+++ b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/wizards/XSDSelectIncludeFileWizard.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2001, 2008 IBM Corporation and others.
+ * Copyright (c) 2001, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -275,7 +275,7 @@ public class XSDSelectIncludeFileWizard extends Wizard implements INewWizard
return false;
}
- if ( !text.startsWith("http://") )
+ if ( !(text.startsWith("http://")||text.startsWith("https://")||text.startsWith("file:")))
{
setErrorMessage(XSDEditorPlugin.getXSDString("_UI_URL_START_WITH"));
return false;

Back to the top