Modify

Opened 7 years ago

Closed 7 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

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 7 years ago by cboos

  • Status changed from new to assigned

Woops, sorry for that.

comment:2 Changed 7 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from cboos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.