Skip to content

Commit

Permalink
CONTENT-1583 - 404 when clicking file links from a page, except files…
Browse files Browse the repository at this point in the history
… from Standard folder
  • Loading branch information
agrueso committed Aug 28, 2013
1 parent a05b5b9 commit 69cbd1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public override void HandleRequest()
FileInfo savedFile = _fileController.GetFileById(Int32.Parse(fileID), dialogParams.PortalId);

linkTrackingInfo = _urlController.GetUrlTracking(dialogParams.PortalId, string.Format("fileID={0}", fileID), dialogParams.ModuleId);
dialogParams.LinkClickUrl = string.Format("{0}{1}{2}/{3}", GetDomain(), dialogParams.HomeDirectory, savedFile.Folder, savedFile.FileName).Replace("//", "/");

}
else if (dialogParams.LinkUrl.ToLowerInvariant().Contains("linkclick.aspx"))
{
Expand Down

0 comments on commit 69cbd1f

Please sign in to comment.