Skip to content

Commit

Permalink
Fix two spelling mistakes (#107073)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzLevvie committed Sep 21, 2020
1 parent 0d342d6 commit c0850fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function isLocalhostAuthority(authority: string) {
}

/**
* Case-normalize some case-insinsitive URLs, such as github.
* Case-normalize some case-insensitive URLs, such as github.
*/
function normalizeURL(url: string | URI): string {
const caseInsensitiveAuthorities = ['github.com'];
Expand All @@ -177,7 +177,7 @@ function normalizeURL(url: string | URI): string {
* the list of trusted domains.
*
* - Schemes must match
* - There's no subdomsain matching. For example https://microsoft.com doesn't match https://www.microsoft.com
* - There's no subdomain matching. For example https://microsoft.com doesn't match https://www.microsoft.com
* - Star matches all subdomains. For example https://*.microsoft.com matches https://www.microsoft.com and https://foo.bar.microsoft.com
*/
export function isURLDomainTrusted(url: URI, trustedDomains: string[]) {
Expand Down

0 comments on commit c0850fd

Please sign in to comment.