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

(-)DirContextURLConnection.java (+1 lines)
Lines 444-449 Link Here
444
                int start;
444
                int start;
445
                if (context instanceof ProxyDirContext) {
445
                if (context instanceof ProxyDirContext) {
446
                    String cp = ((ProxyDirContext)context).getContextPath();
446
                    String cp = ((ProxyDirContext)context).getContextPath();
447
					cp = URL_ENCODER.encodeURL(cp);
447
                    String h = ((ProxyDirContext)context).getHostName();
448
                    String h = ((ProxyDirContext)context).getHostName();
448
                    if ("".equals(cp)) {
449
                    if ("".equals(cp)) {
449
                        start = h.length() + 2;
450
                        start = h.length() + 2;

Return to bug 54371