The behaviour @Tuilip experienced is because of relative path in form action attribute. Relative path in action will always replace anything after the last slash in url.
example: url is "/items/123" and form action is "delete" result will be "items/delete"
if url is "/items/123/" result will be "items/123/delete"