Gaia invalid link patch

Bug 941763 - Invalid url detection Patch