<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Error adding attachment - Internet Explorer 7 - script error in compose.php and incomplete source sent to client</title> 
  <pubDate>Fri, 10 Apr 2026 14:37:16 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9586</link> 
  <atom:link rel="self" type="application/rss+xml" title="Error adding attachment - Internet Explorer 7 - script error in compose.php and incomplete source sent to client" href="https://bugs.horde.org/ticket/9586/rss" /> 
  <description>Error adding attachment - Internet Explorer 7 - script error in compose.php and incomplete source sent to client</description> 
 
   
   
  <item> 
   <title>Using the Microsoft Internet Explorer version 7.0.5730.13 we</title> 
   <description>Using the Microsoft Internet Explorer version 7.0.5730.13 we are experiencing the following problem when trying to add a Microsoft Word file (.doc extension) as an attachment to a newly created mail:

The data sent to the client contains 1248 &quot;?&quot; characters in the first place followed by &quot;&lt;!--a75c305b1c0a6022--&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;/horde/js/prototype.js&quot;&gt;&lt;/script&gt;&quot; and the other, normal content of the page.

The browser is also displaying an error on line 104 within the source, sent to the client containing the following data:

   &lt;input type=&quot;hidden&quot; name=&quot;identity&quot; value=&quot;tag:identity_default /&gt;&quot; /&gt; 
   xxxxxx@xxxxxxx.de (Standardidentität) 
 
(Maybe the content &quot;tag:identity_default /&gt;&quot; of the value attribute is invalid, because not escaped properly?)

Because of these errors it is not possible to send the mail.
Using version 8 of the Microsoft Internet Explorer or the latest version of Mozilla Firefox as a browser the problem is not occurring.</description> 
   <pubDate>Fri, 18 Feb 2011 10:28:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t61842</link> 
  </item> 
   
  <item> 
   <title>Can you please explain again, which steps in which order exa</title> 
   <description>Can you please explain again, which steps in which order exactly you do, and what happens when? What you write is very confusing.</description> 
   <pubDate>Mon, 21 Feb 2011 11:21:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t61888</link> 
  </item> 
   
  <item> 
   <title>&gt; Can you please explain again, which steps in which order e</title> 
   <description>&gt; Can you please explain again, which steps in which order exactly you 
&gt; do, and what happens when? What you write is very confusing.

1. We click the button to create a new email.

2. The popup windows opens and we enter the recipients email address.

3. Then we select a file from our hard disk. This is a Microsoft Word document with a &quot;.doc&quot; extension. After clicking the refresh button (in german: &quot;Aktualisierung&quot;) the page is beeing reloaded.

4. At the top of the page there are a huge number of question marks in one line, which is not normal. Below the message for the successfully added attachment is displayed (in german: &quot;&quot;Test.doc&quot; als Anhang hinzugefügt.
&quot;). The Microsoft Internet Explorer is also showing a script error on the page (in german: &quot;Fehler auf der Seite&quot;).
Despite of that the source sent to the client is incomplete, because it begins with the question marks, followed by a number of HTML &quot;script&quot; tags and the rest of the source.
It is not possible to send the email by clicking the appropriate button.

There are no errors in the horde log or the PHP error log.
The real problem seems to be the incomplete (or cut) source generated and sent to the client, because the file was successfully attached.
We are using the latest version of PHP 5.2</description> 
   <pubDate>Mon, 21 Feb 2011 12:28:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t61893</link> 
  </item> 
   
  <item> 
   <title>Please upload the complete source of such a broken compose p</title> 
   <description>Please upload the complete source of such a broken compose page.
However, this rather sounds like some very broken PHP behavior.</description> 
   <pubDate>Mon, 21 Feb 2011 12:33:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t61894</link> 
  </item> 
   
  <item> 
   <title>&gt; Please upload the complete source of such a broken compose</title> 
   <description>&gt; Please upload the complete source of such a broken compose page.
&gt; However, this rather sounds like some very broken PHP behavior.

here is the source code of the composing window after trying to attach a &quot;.doc&quot; file.</description> 
   <pubDate>Fri, 18 Mar 2011 09:04:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62414</link> 
  </item> 
   
  <item> 
   <title>We need the *message* source.</title> 
   <description>We need the *message* source.</description> 
   <pubDate>Fri, 18 Mar 2011 09:16:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62416</link> 
  </item> 
   
  <item> 
   <title>&gt; We need the *message* source.

You&#039;ve asked for &quot;source </title> 
   <description>&gt; We need the *message* source.

You&#039;ve asked for &quot;source of such a broken compose page&quot;.

What do you mean by &quot;message source&quot;? The email could not be sent due to this problem. Therefore we do not have a message from which we could send you the source.</description> 
   <pubDate>Fri, 18 Mar 2011 09:34:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62421</link> 
  </item> 
   
  <item> 
   <title>Oh, sorry, I mis-read my own comment. :)</title> 
   <description>Oh, sorry, I mis-read my own comment. :)</description> 
   <pubDate>Fri, 18 Mar 2011 09:40:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62423</link> 
  </item> 
   
  <item> 
   <title>This is indeed some kind of a horribly broken page. I have n</title> 
   <description>This is indeed some kind of a horribly broken page. I have never seen this before. I can only assume that some is awfully wrong with output buffering in your PHP version. Though that still won&#039;t explain the question marks.
Try disabling any output buffering or processing settings in both Horde&#039;s and PHP&#039;s configuration. Try disable bytecode caches, if you use any. Try pruning the Horde cache storage, if you configured caching in Horde. If everything fails, build a new PHP.</description> 
   <pubDate>Fri, 18 Mar 2011 09:47:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62425</link> 
  </item> 
   
  <item> 
   <title>&gt; This is indeed some kind of a horribly broken page. I have</title> 
   <description>&gt; This is indeed some kind of a horribly broken page. I have never seen 
&gt; this before. I can only assume that some is awfully wrong with output 
&gt; buffering in your PHP version. Though that still won&#039;t explain the 
&gt; question marks.
&gt; Try disabling any output buffering or processing settings in both 
&gt; Horde&#039;s and PHP&#039;s configuration. Try disable bytecode caches, if you 
&gt; use any. Try pruning the Horde cache storage, if you configured 
&gt; caching in Horde. If everything fails, build a new PHP.

Hello,

I think we could solve the problem:

After activating the &quot;fileinfo&quot; extension the corruption within the website&#039;s source code is no longer present. The Javascript errors are also gone.

Both in the Microsoft Internet Explorer an Mozilla Firefox we are now able to successfully attach &quot;.doc&quot; files to a new email. I hope this is a permanent &quot;fix&quot; an might help others.

Bye the way: We are not using any accelerator extensions and have no output compression handler enabled for this website. Disabling the &quot;compress_pages&quot; directive within the horde configuration has not solved the problem.
</description> 
   <pubDate>Fri, 18 Mar 2011 11:15:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62429</link> 
  </item> 
   
  <item> 
   <title>Probably a broken mime_magic extension in your PHP then.</title> 
   <description>Probably a broken mime_magic extension in your PHP then.</description> 
   <pubDate>Fri, 18 Mar 2011 12:30:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62430</link> 
  </item> 
   
  <item> 
   <title>&gt; Probably a broken mime_magic extension in your PHP then.
</title> 
   <description>&gt; Probably a broken mime_magic extension in your PHP then.

Actually, we do not have any &quot;mime_magic&quot; extension compiled for this server, but the &quot;fileinfo&quot; extension, we just activated/enabled. And it was possible to upload &quot;.doc&quot; files on some other computers with Microsoft Windows.

For now, I think the problem is solved.
Thanx a lot :-)</description> 
   <pubDate>Fri, 18 Mar 2011 12:56:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9586#t62434</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
