Trims whitespace from the URL when defining a Web Link resource. Fixes WL-2670.
Include null check on url before trimming.
Merge pull request #5 from ox-it/WL-2670

WL-2670 Fix