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(core): Account for double quotes in instance base URL #11495

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Nov 1, 2024
@ivov ivov marked this pull request as draft November 1, 2024 12:03
@ivov ivov marked this pull request as ready for review November 1, 2024 12:39
tomi
tomi previously approved these changes Nov 1, 2024
Copy link
Contributor

@tomi tomi left a 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) {
Copy link
Contributor

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?

Copy link
Contributor

github-actions bot commented Nov 1, 2024

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Nov 1, 2024

n8n    Run #7655

Run Properties:  status check passed Passed #7655  •  git commit 4b3130417b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project n8n
Branch Review account-for-double-quotes-in-instance-base-url
Run status status check passed Passed #7655
Run duration 04m 34s
Commit git commit 4b3130417b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Committer Iván Ovejero
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 460
View all changes introduced in this branch ↗︎

@ivov ivov requested a review from tomi November 1, 2024 13:51
Copy link
Contributor

github-actions bot commented Nov 1, 2024

✅ All Cypress E2E specs passed

@ivov ivov merged commit c5191e6 into master Nov 1, 2024
34 checks passed
@ivov ivov deleted the account-for-double-quotes-in-instance-base-url branch November 1, 2024 14:06
This was referenced Nov 6, 2024
@janober
Copy link
Member

janober commented Nov 6, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants