2/6/2012 8:41:31 AM
RE:GetDocumentURL(id) and GetAttachmentUrl add to link additional tilda ('~')
That is a right behavior. There is no difference (in most of cases) between /test/url/path and ~/test/url/path addresses, because /test/url/path starts in the root of the application, whilst ~ is resolved as a path to the application, but the URL address, which starts with tilda, generates right address even if your application is under a virtual directory in your IIS (e.g. localhost/web1).