0.12.5dev: more robust request processing for `/attachment/<realm>/<id>...` URLs.
0.12.5dev: more robust request processing for `/attachment/<realm>/<id>...` URLs.

If a trailing `/` is missing when only the `<id>` is specified, do the
same as if that trailing slash was there, i.e. display the list of
attachments for that resource.

Closes #10280.


git-svn-id: 30ec3c1a2098df185a8733d0352d646269562639@11356 af82e41b-90c4-0310-8c96-b1721e28e2e2

exocad/exotrac,exocad/exotrac,exocad/exotrac,exocad/exotrac