SWC-1270: fix link href when external file handle (cherry-pick change up to release from develop)