mozilla/addon-sdk — pull request #923 by jsantell (2013-04-04 19:22:28+00:00)
Title: Bug 856913, fix match pattern wildcard to not match invalid domains

Fixes instances when the following URLs were valid for the match patterns
```
ok('*.ign.com', 'http://www.design.com');
ok('*.ign.com', 'http://design.com');
ok('*.zilla.com', 'http://bugzilla.mozilla.com');
ok('*.zilla.com', 'http://mo-zilla.com');
```