#2058: Tweak fckeditor.py to support WSGI ---------------------+------------------------------------------------------ Reporter: whit537 | Type: Bug Status: new | Priority: Normal Milestone: | Component: Server : Python Version: | Keywords: ---------------------+------------------------------------------------------ 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.
-- Ticket URL: <http://dev.fckeditor.net/ticket/2058> FCKeditor <http://www.fckeditor.net> The text editor for Internet ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ FCKeditor-Trac mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fckeditor-trac
