#676 closed defect (fixed)

WebAPI: POST /uri/cap//?t=mkdir creates directory with no name

Reported by: soult Owned by:
Priority: minor Milestone: 1.6.0
Component: code-frontend-web Version: 1.3.0
Keywords: webapi, empty Cc:
Launchpad Bug:


(Note the double-slash in the URL.)

<zooko> Ah, if I recall correctly the front-ends are supposed to refuse to create child-names which are the empty string, but the internals don't care.

Change History (1)

comment:1 Changed at 2009-12-27T20:24:33Z by warner

  • Milestone changed from undecided to 1.6.0
  • Resolution set to fixed
  • Status changed from new to closed

Fixed, in 499add09e6b1ba62, with an internal webapi change to disallow empty strings as pathname components when traversing directories. You'll get an EmptyPathnameComponentError now.

Note: See TracTickets for help on using tickets.