6.0.0-beta1
7/6/25

[#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 03/03/2015 (3778 days ago)
Due
Updated 03/03/2015 (3778 days ago)
Assigned
Resolved 03/03/2015 (3778 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/03/2015 11:51:38 PM 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.
03/03/2015 11:49:24 PM 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
03/03/2015 01:15:16 PM tuxillo (at) quantumachine (dot) net Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ HORDE: PHP ERROR: Header may not contain more than a single header, new line detected
Type ⇒ Bug
State ⇒ Unconfirmed
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