Throw exception if we try to link to a file url from an online document. Also fetching referrer from the history stack. Required: onlinetest.
Merge pull request #102 from AndersBillLinden/master

Throw exception if we try to link to a file url from an online document....