Anonymous | Login | Signup for a new account | 12-17-2024 11:33 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002900 | [Resin] | major | always | 09-04-08 02:02 | 09-19-08 11:12 | ||||
Reporter | ksullivan | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | high | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.7 | ||||||
Summary | 0002900: Repeated headers not passed in response | ||||||||
Description |
Issue 2637 reports that the bug with repeated header names going from the client to the Origin Server are passed - this seems to work in 3.1.7. It is also reported that repeated headers, e.g. Set-Cookie headers are passed on the way back from the Origin Server to the client. This does not seem to be working in 3.1.7. The code (from file HttpProxyServlet.java) that deals with passing the headers back in the response is (irrelevant stuff snipped): Iterator iter = rs.getAttributeNames(); while (iter.hasNext()) { String name = (String) iter.next(); res.addHeader(name, (String) rs.getAttribute(name)); } rs.getAttributeNames() only returns one instance of each header name. Even if it didn't, rs.getAttribute(name) would only be able to return one of the values assigned to the header. |
||||||||
Additional Information | |||||||||
Attached Files | HttpStream.java [^] (19,647 bytes) 09-07-08 10:55 | ||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed. 27 unique queries executed. |