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

(-)src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (+4 lines)
Lines 336-341 Link Here
336
                    headerLines[i]=headerLines[i].replaceFirst(HTTPS_PREFIX, "http://");
336
                    headerLines[i]=headerLines[i].replaceFirst(HTTPS_PREFIX, "http://");
337
                    continue;
337
                    continue;
338
                }
338
                }
339
                if (forcedHTTPS && HTTPConstants.HEADER_COOKIE.equalsIgnoreCase(parts[0]) || HTTPConstants.HEADER_SET_COOKIE.equalsIgnoreCase(parts[0]))
340
                {
341
                	headerLines[i]=headerLines[i].replaceAll(" secure", "").trim(); //in forced https cookies need to be unsecured...
342
                }
339
            }
343
            }
340
        }
344
        }
341
        if (fixContentLength && contentLengthIndex>=0){// Fix the content length
345
        if (fixContentLength && contentLengthIndex>=0){// Fix the content length

Return to bug 47445