Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 354258
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.server.servlets/src/org/eclipse/orion/internal/server/servlets/workspace/WorkspaceResourceHandler.java (-1 / +1 lines)
Lines 493-499 public class WorkspaceResourceHandler extends WebElementResourceHandler<WebWorks Link Here
493
		if (prefixes == null)
493
		if (prefixes == null)
494
			prefixes = ServletTestingSupport.allowedPrefixes;
494
			prefixes = ServletTestingSupport.allowedPrefixes;
495
		if (prefixes != null) {
495
		if (prefixes != null) {
496
			StringTokenizer t = new StringTokenizer(prefixes, ","); //$NON-NLS-1$
496
			StringTokenizer t = new StringTokenizer(prefixes, File.pathSeparator);
497
			while (t.hasMoreTokens()) {
497
			while (t.hasMoreTokens()) {
498
				String prefix = t.nextToken();
498
				String prefix = t.nextToken();
499
				if (content.startsWith(prefix)) {
499
				if (content.startsWith(prefix)) {

Return to bug 354258