enabling Smiley component confuses cgi web server
|Reported by:||Wolfgang.Treutterer@…||Owned by:||cboos|
When the Smiley component is enabled the CGI webserver rejects files requested by other plugins like e.g. css stylesheet files. This is due to the fact, that their response header starts with a line containing the smileys components location. This line is inserted by the command
print resource_filename(__name__, 'htdocs')
in line 66 of smileys.py . This print command outputs to stdout, which cgi forwards to the web server.
Fix: remove or comment out the respective line