Fix match pattern wildcard to not match invalid domains
Merge pull request #923 from jsantell/fix-matchpattern-856913

Fix Bug 856913, fix match pattern wildcard to not match invalid domains, r=@ZER0