You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "keon94 (via GitHub)" <gi...@apache.org> on 2023/03/15 02:53:41 UTC

[GitHub] [incubator-devlake] keon94 opened a new issue, #4664: [Bug][Framework] Database connection string credentials can't use special characters

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: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] hezyin closed issue #4664: [Bug][Framework] Database connection string credentials can't use special characters

Posted by "hezyin (via GitHub)" <gi...@apache.org>.
hezyin closed issue #4664: [Bug][Framework] Database connection string credentials can't use special characters 
URL: https://github.com/apache/incubator-devlake/issues/4664


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org