Modify

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: Christian Boos
Priority: high Component: WikiGoodiesPlugin
Severity: critical Keywords: cgi css
Cc: Trac Release: 0.10

Description

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

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Christian Boos

Status: newassigned

Woops, sorry for that.

comment:2 Changed 10 years ago by Christian Boos

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.