Revert r6513: the trailing '/' added to attachment links when the `id` is `None` is used for linking to the list of attachments.
We can't just assume an 'attachment/realm/id' structure, because '/' can be part of the id, see #4812.
Authored by: cboos 2008-02-18
Parent: [r6534]
Child: [r6536]