-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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(core): Account for double quotes in instance base URL #11495
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 Just suggestion about naming the method
@@ -36,4 +37,9 @@ export class UrlService { | |||
} | |||
return `${protocol}://${host}:${port}${path}`; | |||
} | |||
|
|||
/** Remove leading and trailing double quotes from a URL. */ | |||
private sanitizeQuotes(url?: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Maybe this could be named trimQuotes
instead?
✅ All Cypress E2E specs passed |
n8n Run #7655
Run Properties:
|
Project |
n8n
|
Branch Review |
account-for-double-quotes-in-instance-base-url
|
Run status |
Passed #7655
|
Run duration | 04m 34s |
Commit |
4b3130417b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
|
Committer | Iván Ovejero |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
460
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
https://linear.app/n8n/issue/PAY-2176/users-on-v1643-stop-having-the-enter-license-key-button#comment-8e69a1bc