Closed
Bug 543442
Opened 14 years ago
Closed 14 years ago
Internal server error when trying to delete a directory without a trailing slash
Categories
(Skywriter Graveyard :: Server, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
0.8
People
(Reporter: dangoor, Unassigned)
Details
From the mailing list: I ran the follwoing command 'rm /SampleProject/srcweb' The error is below: Wasn't able to remove the file /SampleProject/srcweb Error (probably doesn't exist): Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, bespin@mozilla.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.3 (CentOS) Server at bespin.mozilla.com Port 80 Bespin doesn't seem to be able to append a '/' behind srcweb to make it srcweb/ which is the correct url. I felt that it needs a function to auto-correct the url.
Comment 1•14 years ago
|
||
I need to know the time estimate for this bug to be resolved.I can start working on it.Is there anything I should read before hacking?
Reporter | ||
Comment 2•14 years ago
|
||
We'll want to try to fix this in the next few days so that it can land in 0.8. I think the proper fix for this is server-side. I'm thinking that the trailing slash is a good confirmation from the user that they intend to delete a directory and all of its contents. So, the server should respond with a specific error (probably BadRequest) saying "(path) is a directory. To delete a directory, include the trailing slash (path+/)."
Target Milestone: --- → 0.8
Reporter | ||
Comment 3•14 years ago
|
||
fixed in 7d4c4404a0fb
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•