Dominique Jäggi created FELIX-5348:
--------------------------------------

             Summary: [HTTP Service] Location not URL Encoded during Redirect
                 Key: FELIX-5348
                 URL: https://issues.apache.org/jira/browse/FELIX-5348
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
            Reporter: Dominique Jäggi


With SSL forwarding enabled, a _sendRedirect_ will not properly encode the 
resulting location header value:

{noformat}
> GET /?$$bla$$=test HTTP/1.1
> Host: localhost:4502
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.49.1
> Accept: */*
> X-Forwarded-SSL:on
>
< HTTP/1.1 302 Found
< Location: https://localhost/index.html?$$bla$$=test
< Transfer-Encoding: chunked
<
* Connection #0 to host localhost left intact
{noformat}

Non-SSL-forwarded requests result in properly encoded location header.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to