View | Details | Raw Unified | Return to bug 320424
Collapse All | Expand All

(-)src/org/eclipse/help/internal/protocols/HelpURLConnection.java (-1 / +1 lines)
Lines 122-128 Link Here
122
			throw new IOException("Resource not found."); //$NON-NLS-1$
122
			throw new IOException("Resource not found."); //$NON-NLS-1$
123
		}
123
		}
124
124
125
		if (getFile() == null || "".equals(getFile())) { //$NON-NLS-1$
125
		if (getFile() == null || "".equals(getFile()) || getFile().indexOf("..\\") >= 0) { //$NON-NLS-1$ //$NON-NLS-2$
126
			throw new IOException("Resource not found."); //$NON-NLS-1$
126
			throw new IOException("Resource not found."); //$NON-NLS-1$
127
		}
127
		}
128
128

Return to bug 320424