Ticket #2058 (new Bug)
Tweak fckeditor.py to support WSGI
| Reported by: | whit537 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Server : Python | Version: | SVN |
| Keywords: | Confirmed 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
Change History
Note: See
TracTickets for help on using
tickets.