-1

Am hosting the API project in azure devops. I have set the connectionstring in the keyvault, passing the value to Appsettings. In the password,'&' character is present. Hence i set the password in connectionstring as 'Test&test', but upon fetching the value, connection string is breaking, and it is not taking '&' in password properly. I have been using YAML file for deploying the project.

shiju
  • 11
  • 8

1 Answers1

0

You should escape any special characters like the ampersand. To escape the & character, use & instead of &. Your connection string should be

Test&test
rickvdbosch
  • 14,105
  • 2
  • 40
  • 53