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

Ensure a normalized URL is printed #13

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

mathiasbynens
Copy link
Contributor

https://example.tld is not a normalized URL, but https://example.tld/ (note the slash following the origin) is.

new URL('https://example.tld').toString() === 'https://example.tld/'

This patch ensures a normalized URL is used in the GitHub comment.

Drive-by fix: fix /n → \n typo.

`https://example.tld` is not a normalized URL, but `https://example.tld/` (note the slash following the origin) is.

```js
new URL('https://example.tld').toString() === 'https://example.tld/'
```

This patch ensures a normalized URL is used in the GitHub comment.

Drive-by fix: fix /n → \n typo.
Copy link
Collaborator

@jhuleatt jhuleatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mathiasbynens!

@jhuleatt jhuleatt merged commit 6ef7103 into FirebaseExtended:main Sep 9, 2020
@mathiasbynens mathiasbynens deleted the patch-1 branch September 9, 2020 18:27
pomle pushed a commit to pomle/action-hosting-deploy that referenced this pull request Nov 8, 2020
@FirebaseExtended FirebaseExtended locked and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants