Properly escape release attachment URL (#6512)
Properly escape release attachment URL (#6512)

Make sure file attachments on a release get a properly escaped URL when
linking.

Fixes #6506
sapk-fork/gitea,typeless/gitea,vdbt/gitea,go-gitea/gitea,vdbt/gitea,go-gitea/gitea,typeless/gitea,vCaesar/gitea,lafriks/gitea,vCaesar/gitea,sapk-fork/gitea,kubatyszko/gitea,cez81/gitea,typeless/gitea,cez81/gitea,sapk-fork/gitea,go-gitea/gitea,sapk-fork/gitea,cez81/gitea,kubatyszko/gitea,lafriks/gitea,kubatyszko/gitea,lafriks/gitea,typeless/gitea