Fixed #284

* Fixed isValidLink method of LinkUtil
* Checks now the full link (including the path)