6.0.0-git
2019-04-23

[#13894] HORDE: PHP ERROR: Header may not contain more than a single header, new line detected
Summary HORDE: PHP ERROR: Header may not contain more than a single header, new line detected
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester tuxillo (at) quantumachine (dot) net
Created 2015-03-03 (1512 days ago)
Due
Updated 2015-03-03 (1512 days ago)
Assigned
Resolved 2015-03-03 (1512 days ago)
Milestone
Patch No

History
2015-03-03 23:51:38 Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Resolved
Priority ⇒ 1. Low
Reply to this comment
This fixes the error described in this ticket. However, this doesn't 
fix whatever underlying issues are causing the HTTP 500 to begin with. 
I.e., this only affected the error text being sent back to the client.
2015-03-03 23:49:24 Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit bb52fdb413cc9abba46cf85789779a9fbd165817
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Tue Mar 3 18:48:07 2015 -0500

     Bug: 13894 Avoid returning invalid strings in HTTP response.

     Really no need to return the error message here anyway, just log it.

  framework/Rpc/lib/Horde/Rpc/ActiveSync.php |   11 +++++++----
  1 files changed, 7 insertions(+), 4 deletions(-)

http://github.com/horde/horde/commit/bb52fdb413cc9abba46cf85789779a9fbd165817
2015-03-03 13:15:16 tuxillo (at) quantumachine (dot) net Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ HORDE: PHP ERROR: Header may not contain more than a single header, new line detected
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
Hi,

When trying to connect an Android device (4.4.4) to my Horde 
installation using Mail app through ActiveSync, connection fails and I 
get the following error in /var/log/messages:

HORDE: PHP ERROR: Header may not contain more than a single header, 
new line detected [pid 1007 on line 163 of 
"/usr/share/php/Horde/Rpc/ActiveSync.php"]

Details from the server are:

- Debian 7
- PHP 5.4.36
- Apache 2.2.22 with mod_php
- Horde Groupware 5.2.5 (I believe the horde_rpc is 2.26 since I've 
just upgraded).

Offending line would be:

https://github.com/horde/horde/blob/master/framework/Rpc/lib/Horde/Rpc/ActiveSync.php#L163

Cheers,
Antonio Huete

Saved Queries