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

Fix: Issue with the Regex in util.ts #56

Merged
merged 3 commits into from
May 1, 2023

Conversation

zZeepo
Copy link
Contributor

@zZeepo zZeepo commented May 1, 2023

Description

Fixes the regex pattern to remove the auth credentials from the responseUrl.
If the URL contained an @ sign, the regex pattern would wrongly shorten the url.

Link: https://user:passwd@www.youtube.com/@github
Is: https://@github
Should: https://www.youtube.com/@github

Linked Issues

Follow up to: #55
(my bad, I spotted the issue after I had already created the previous PR and couldn't push the fix in time)

Additional context

none

@netlify
Copy link

netlify bot commented May 1, 2023

Deploy Preview for unlighthouse canceled.

Name Link
🔨 Latest commit baa4fcb
🔍 Latest deploy log https://app.netlify.com/sites/unlighthouse/deploys/644fee5269e30000086b5df8

@harlan-zw
Copy link
Owner

Good catch!

@harlan-zw harlan-zw merged commit 1a634f8 into harlan-zw:main May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants