Opened 10 years ago

Closed 10 years ago

#912 closed defect (fixed)

enabling Smiley component confuses cgi web server

Reported by: Wolfgang.Treutterer@… Owned by: cboos
Priority: high Component: WikiGoodiesPlugin
Severity: critical Keywords: cgi css
Cc: Trac Release: 0.10


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 . This print command outputs to stdout, which cgi forwards to the web server.

Fix: remove or comment out the respective line

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by cboos

  • Status changed from new to assigned

Woops, sorry for that.

comment:2 Changed 10 years ago by cboos

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [1566]) Removed leftover print statement from a debug session... Thanks to Wolfgang Treutterer for spotting this! Closes #912.

Add Comment

Modify Ticket

as closed The owner will remain cboos.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.