Opened 16 years ago

Closed 11 years ago

#2058 closed Bug (wontfix)

Tweak fckeditor.py to support WSGI

Reported by: Chad Whitacre Owned by:
Priority: Normal Milestone:
Component: Server : Python Version: FCKeditor 2.6
Keywords: HasPatch Cc:

Description

The fckeditor.py module assumes a CGI environment by hardwiring os.environ into FCKeditor.IsCompatible. The attached patch adds an Environ attribute to the class, which, if set after instantiation but before Create is called, will be used instead of os.environ. This allows the caller to use the module in a long running process, for example, by substituting a WSGI environ for the CGI environ.

Attachments (1)

wsgi.patch (804 bytes) - added by Chad Whitacre 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by Chad Whitacre

Attachment: wsgi.patch added

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed HasPatch added
Version: SVN

comment:2 Changed 13 years ago by Wiktor Walc

Version: SVN (FCKeditor) - RetiredFCKeditor 2.6

comment:3 Changed 11 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: confirmedclosed

This module is no longer supported.

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