cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3709) Incorrect URL handling in org.apache.cxf.transport.servlet.BaseUrlHelper method getBaseURL
Date Fri, 05 Aug 2011 09:39:27 GMT

     [ https://issues.apache.org/jira/browse/CXF-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-3709.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
                   2.4.2

> Incorrect URL handling in org.apache.cxf.transport.servlet.BaseUrlHelper method getBaseURL
> ------------------------------------------------------------------------------------------
>
>                 Key: CXF-3709
>                 URL: https://issues.apache.org/jira/browse/CXF-3709
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.4.1
>            Reporter: Konstantin V. Salikhov
>            Assignee: Sergey Beryozkin
>            Priority: Trivial
>             Fix For: 2.4.2, 2.5
>
>
> I've found a piece of incorrect code in org.apache.cxf.transport.servlet.BaseUrlHelper
method getBaseURL()
> There's such a code at line 41: "index = reqPrefix.indexOf(basePath);"
> This code handles URL badly when host name starts with application context name.
> Example:
> URL "http://arm.mycompany.com:8998/arm/arm" will produce return value of "http://arm"
instead of "http://arm.mycompany.com:8998/arm"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message