#94 closed defect

uploading empty-string filenames confounds webish.py — at Initial Version

Reported by: arch_o_median Owned by: somebody
Priority: minor Milestone: eventually
Component: code-frontend-web Version: 0.4.0
Keywords: Cc:
Launchpad Bug:

Description

I tried to upload a (non) file to the Test Grid. I clicked upload file on the web interface to my client node when the upload field was empty. This resulted in the following Stack Trace:

/usr/lib/python2.5/site-packages/allmydata/webish.py, line 515 in renderHTTP 513

elif t == "delete":

514

if not name:

515

raise RuntimeError?("delete requires a name")

516

d = self._node.delete(name)

Locals name self <allmydata.webish.POSTHandler object at 0x8a8988c> t 'delete'

<type 'exceptions.RuntimeError?'>: delete requires a name

Change History (0)

Note: See TracTickets for help on using tickets.