Modify

Opened 18 years ago

#1296 new defect

Notes from xlrd appear in http headers

Reported by: sarahg@… Owned by: Christopher Lenz
Priority: normal Component: ExcelViewerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

The plugin's output of the "NOTE" below is going to the http headers (bits that might give away private information have been changed).

$ runxlrd.py 3rows dir/hiding_clients_filename.xls

=== File: dir/hiding_clients_filename.xls ===
NOTE *** Ignoring non-worksheet data named u'Name Hidden To Protect Client' (type 0x02 = Chart)
Open took 0.07 seconds

In the apache log it shows up like this:

[Sat Mar 10 14:14:33 2007] [error] [client 58.110.70.151] malformed
header from script. Bad header=NOTE *** Ignoring non-workshee: trac.cgi,
referer:
http://cvsdude.com/trac/dir/changed/attachment/wiki/WikiStart/hiding_clients_filename.xls

Perhaps you can redirect stdout temporarily if the lib is blurting out inconvenient messages?

Thanks,

-- Sarah

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Christopher Lenz.

Add Comment


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

 
Note: See TracTickets for help on using tickets.