chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Guillaume (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-500) AtomPubUtils: Take the X-Forwarded-Host and X-Forwarded-Proto request headers into account when calculating the baseUrl
Date Fri, 10 Feb 2012 17:06:59 GMT

    [ https://issues.apache.org/jira/browse/CMIS-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205555#comment-13205555
] 

Florent Guillaume commented on CMIS-500:
----------------------------------------

Florian why do you say "These headers are easy to spoof and could become a security issue"?
We just generate URLs for the client that sent us this header, it's not a security issue,
the client will use them, not us.

There are tons of application that generate URLs taking into account these headers. I don't
see why we have to go through a complex valve or filter setup.

                
> AtomPubUtils: Take the X-Forwarded-Host and X-Forwarded-Proto request headers into account
when calculating the baseUrl
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-500
>                 URL: https://issues.apache.org/jira/browse/CMIS-500
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.7.0
>            Reporter: Gert Dewit
>            Assignee: Florian Müller
>              Labels: patch
>             Fix For: OpenCMIS 0.7.0
>
>         Attachments: XForwardedHeaders.patch
>
>
> When the OpenCMIS server is deployed behind a reverse proxy, the service document doesn't
return the correct URLs.
> If it takes the X-Forwarded-Host and X-Forwarded-Proto request headers into account when
calculating the baseUrl the URLs are correct.
> A patch against revision 1241367 is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message