-
Notifications
You must be signed in to change notification settings - Fork 12
fix: download site bundle correctly if site name has special chars #262
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
Conversation
src/shared/experience/expSite.ts
Outdated
if (isInvalidSiteName) { | ||
const updatedSiteName = replaceSpacesAndSpecialChars(this.siteName); | ||
this.siteName = updatedSiteName; | ||
} |
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.
@pulkit0555 Is there a reason why we can't do this in the constructor?
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.
@nrkruk I was also debating on the same idea in a different PR to add these changes in the constructor but I guess that was missed. Let me add those changes now.
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.
…l chars (#270) * fix: download site bundle correctly if site name has special chars (#262) * fix: updated special chars in site name * fix: minor fix * fix: refactored code * chore: change test naming --------- Co-authored-by: Nicolas Kruk <nicolaskruk@gmail.com> Co-authored-by: Nicolas Kruk <nkruk@salesforce.com> Co-authored-by: svc-cli-bot <Svc_cli_bot@salesforce.com>
What does this PR do?
Fixes the bug when site name contains special chars and we need to download site bundle
What issues does this PR fix or reference?
@W-16552899@