Charm store returns 404 for URLs containing trailing slash.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
New
|
Undecided
|
Unassigned |
Bug Description
While browsing a specific Precise charm I decided to browse all the charms. Instead of clicking the link, I removed the <charm-name> portion in the address bar field and hit enter. The store then returned a 404 error message. After a little playing around it seems that the store does this for URLs containing a trailing slash.
Examples:
* http://
* http://
* http://
* http://
Example 404 Error Message:
404 Not Found
The resource could not be found.
/charms/
While most people would click around and not discover the problem, it does seem to me to be a better idea to return the resource as the user expects (or redirect to the correct URL). The above error message indicates that the resource does exist at, while it really does.