Opened 10 years ago

Closed 9 years ago

#3628 closed Bug (invalid)

$_SERVER['HTTP_USER_AGENT'] don't work on a virtual server (founded how but not why)

Reported by: Marc A Owned by:
Priority: Low Milestone:
Component: Server : PHP Version: FCKeditor 2.6.4
Keywords: Cc:

Description

HI. I'm writting because I did'nt find any solution yet on your bug list.

After a while I found this issue. Quickly: (tested on Mac with Safari Opera & Firefox) on local server works but on a Virtual hosting (Dreamhost) it returns a : Mozilla/5.0 (000000000; 0; 000 000 00 0 0000000; 00) 000000000000000000 0000000 0000 000000 0000000000000 0000000000000 when in line 36 (function FCKeditor_IsCompatibleBrowser() in fckeditor_php5.php), is trying to know the Browser. After that it returns false and only shows a textarea.

Locally, $sAgent = $HTTP_SERVER_VARSHTTP_USER_AGENT? returns: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.2

(it recognizes Safari-AppleWebKit option)

Sorry, if you knew about that....and sorry for my english. if you know any solution or suggestion about how to make it work in a shared host, please let me know. Thanks, and congratulations for all your work.

Marc

Change History (1)

comment:1 Changed 9 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

That seems like a bug in your hosting provider, not something that can be changed by the server integration of FCKeditor.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy