Closed
Bug 542931
Opened 14 years ago
Closed 14 years ago
Bug in SOAP::Lite prevents WebService:XMLRPC logins from persisting
Categories
(Bugzilla :: WebService, defect)
Bugzilla
WebService
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: mockodin, Assigned: LpSolit)
Details
Attachments
(1 file)
834 bytes,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
SOAP::Transport::HTTP line 807 (SOAP::Lite 0.710.10) Only the last Cookie is set > if ( $self->{'MOD_PERL_VERSION'} > 1 ) { > $self->response->headers->scan( sub { $r->headers_out->set(@_) } ); #<- line 807 > $r->content_type( join '; ', $self->response->content_type ); > } > else { > $self->response->headers->scan( sub { $r->header_out(@_) } ); > $r->send_http_header( join '; ', $self->response->content_type ); > } > $r->print( $self->response->content ); > return $self->{OK}; Should be: $self->response->headers->scan( sub { $r->headers_out->add(@_) } ); $r->headers_out->set() appears to keep overwriting the same cookie header with each subsequent cookie, there by setting only the last $r->headers_out->add() on the other hand properly adds each uniquely I thought it worked previously so I'm wondering if header_out->set changed somehow? I have posted an rt bug, I'll post a direct link once the bug request is processed: http://rt.cpan.org/Public/Dist/Display.html?Name=SOAP-Lite
Reporter | ||
Comment 1•14 years ago
|
||
RT Ticket: http://rt.cpan.org/Ticket/Display.html?id=54106
Reporter | ||
Comment 2•14 years ago
|
||
Also reported on SourceForge: http://sourceforge.net/tracker/?func=detail&atid=513017&aid=2946245&group_id=66000
Reporter | ||
Updated•14 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Reporter | ||
Comment 3•14 years ago
|
||
Added patch to SourceForge ticket
Reporter | ||
Comment 4•14 years ago
|
||
Patch accepted, but no idea when it will get rolled into a build and up on cpan.
Reporter | ||
Comment 5•14 years ago
|
||
SOAP-Lite-0.711 released 18 Mar 2010 to CPAN, Includes Cookie fix We should increment the minimum version in checksetup accordingly.
Comment 6•14 years ago
|
||
Mockodin: Feel free to supply a patch for the version number bump. We may also have to make other fixes to be fully compatible with the latest versions.
Assignee | ||
Comment 7•14 years ago
|
||
SOAP::Lite 0.712 was released 6 months ago. It also fixes these annoying warnings in Perl 5.12.
Updated•14 years ago
|
Attachment #495385 -
Flags: review?(mkanat) → review+
Updated•14 years ago
|
Flags: approval4.0+
Flags: approval+
Target Milestone: --- → Bugzilla 4.0
Assignee | ||
Comment 8•14 years ago
|
||
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Install/Requirements.pm Committed revision 7613. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ modified Bugzilla/Install/Requirements.pm Committed revision 7490.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•