Attachment URL with non-/ relative root

The attachment URL was not working with relative_url_root not equal to '/'. I suggest this fix.
Removed + '' +
Merge pull request #7349 from srna/patch-1

Attachment URL with non-/ relative root