Opened 17 years ago

Closed 17 years ago

Last modified 14 years ago

#181 closed Bug (invalid)

Comments before <html> tag lead to source display on IE

Reported by: achimwestermann@… Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.3.2
Keywords: SF Pending Expired Cc:


Because of the comment in fckeditor.html before the starting <html> tag my Internet Explorer the file source is shown in the editor.

This has been discovered only with my browser (did not check the versions of colleagues).

The bug was encountered with OpenCms which integrates FCKeditor.

I patched the file as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="">
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
* Licensed under the terms of the GNU Lesser General Public License:
* For further information visit:
* "Support Open Source software. What about a donation today?"
* File Name: fckeditor.html
* Main page that holds the editor.
* File Authors:
* Frederico Caldeira Knabben (

With this change the behavior disappears.

Kind regards,

Moved from SF:

Change History (6)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Couldn't it be that the server is sending the page with a different content type for any reason? Maybe it is serving it as "text/plain" instead of "text/html". Couldn't OpenCMS be involved on it in any way?

Moved from SF.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Thanks for the quick reply.

I checked by opening the editor with firefox and life http headers plugin. I cut out the relevant request:


Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.12)
Gecko/20050919 Firefox/1.0.7
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Etag: W/"6045-1161163074281"
Last-Modified: Wed, 18 Oct 2006 09:17:54 GMT
Content-Type: text/html
Content-Length: 6045
Date: Thu, 23 Nov 2006 15:50:47 GMT

Seems OK. As said before: this happened only on my former IE (updated today...), not on firefox or any other IE of a collegue.

Kind regards,


Moved from SF. Original poster: achimwestermann

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Reporter: changed from Frederico Caldeira Knabben to achimwestermann@…

comment:4 Changed 17 years ago by Frederico Caldeira Knabben

Did you had the same results after the update of your IE? This thing is quite weird.

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: Pending added

comment:6 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: Expired added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy