Bug 941763 - Invalid url detection Patch

I ran changes through gjslint --nojsdoc and make lint APP=sms, have not fixed make hint yet