[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kandula-dev
Subject:    [jira] [Updated] (AXIS2-3776) CommonsTransportHeaders does not store 2 cookies due to map implementa
From:       "Kishanthan Thangarajah (JIRA)" <jira () apache ! org>
Date:       2013-10-29 4:56:31
Message-ID: JIRA.12395189.1209724008794.16066.1383022591431 () arcas
[Download RAW message or body]


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

Kishanthan Thangarajah updated AXIS2-3776:
------------------------------------------

    Affects Version/s: 1.6.1

> CommonsTransportHeaders does not store 2 cookies due to map implementation
> --------------------------------------------------------------------------
> 
> Key: AXIS2-3776
> URL: https://issues.apache.org/jira/browse/AXIS2-3776
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Affects Versions: 1.6.1, 1.6.2
> Reporter: Rajat Bhushan
> Assignee: Deepal Jayasinghe
> 
> The CommonsTransportHeaders implementation as a Map does not allow two cookies with \
> same key "Set-Cookie" to co-exist. I am facing a scenario where my .NET web service \
> at Microsoft Project Web Access returns 2 cookies with header value "Set-Cookie". \
> But one of them is overwritten due to the map implementation. I think this can be \
> fixed if we check that if a key is encountered that already exists in the map, then \
> we can change the value for that key as "header=value1;header=value2". So if there \
> are multiple entries with same header, the programmer using it can handle the key \
> and not actually lose the information. Files to be edited : \
> kernel\src\org\apache\axis2\transport\http\CommonsTransportHeaders.java Workaround \
> : none Effect : loss of cookie



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic