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

Copy-DbaCredential: Fix for credentials with square brackets in it's name - Issue #9242 #9243

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

ibaxo
Copy link
Contributor

@ibaxo ibaxo commented Feb 14, 2024

Proposed fix for issue #9242
#9242

$decryptedCredentials items already contain a property .Quotename which is escaped correctly by QUOTENAME function.
One possible fix could be to use the value from .Quotename property instead of $credentialName variable

@potatoqualitee
Copy link
Member

Nice fix! Thank you 🙇🏼

@potatoqualitee potatoqualitee merged commit e72e1a4 into dataplat:development Mar 7, 2024
3 checks passed
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