Attachment URL with non-/ relative root

王权利请求将github/fork/srna/patch-1合并到master

Created by: srna

The attachment URL was not working with relative_url_root not equal to '/'. I suggest this fix.

合并请求报告