keon94 opened a new issue, #4664:
URL: https://github.com/apache/incubator-devlake/issues/4664

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   A Slack user using Azure MySQL cannot connect to the database because their 
username - by Azure requirements - must have the format "pocAdmin@username". 
The "@" sign causes 
[u.User.String()](https://github.com/apache/incubator-devlake/blob/cee7697606aa81d3c330769fe0834ee08816af5c/backend/core/runner/db.go#L88)
 to decode it into "%##" characters. 
   
   ### What do you expect to happen
   
   The user credentials should resolve into "<user:password>" without any 
altered characters.
   
   ### How to reproduce
   
   Create a MySQL database with a username and/or password containing @. "!" 
also breaks it.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to