Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow host name fuzzy matching for Compatibility URLs #680

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

pacify linter

  • Loading branch information
christophertino committed Feb 9, 2021
commit 8356083d84547a0c130db9aa7badbd56ac259012
@@ -55,7 +55,7 @@ export function fuzzyUrlMatcher(url, urls) {
log(`[fuzzyUrlMatcher] host (${host}) and path (${path}) strict match`);
return true;
}
} else if (host.substr(0,2) == "*.") {
} else if (host.substr(0, 2) === '*.') {
if (tab_host.endsWith(host.slice(2))) {
if (!path) {
log(`[fuzzyUrlMatcher] host (${host}) fuzzy match`);
ProTip! Use n and p to navigate between commits in a pull request.