appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: SQL server unable to connect if password has special characters ';/>

Open AmanAgarwal041 opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

  • Error occurred when the password begins with ';/>
  • Error thrown was Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl,
  • Escaping characters also did not work

Steps To Reproduce

  1. Try to connect to a SQL server with password having some special characters like ';/>
  2. Unable to connect

Public Sample App

No response

Version

cloud

Front logo Front conversations

AmanAgarwal041 avatar Sep 08 '22 06:09 AmanAgarwal041

Conversation from the user

I'm currently using Appsmith v1.7.1.

I think the issue is with the semi-colon (;) in the password. After inputting the password I get this error message (I'm changing the server and credentials): Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, jdbc:sqlserver://IP:PORT;user=user;password=<masked>;/>;

So it only recognizes the first character before the semi-colon as the password, because that's the only part that's "masked"

AmanAgarwal041 avatar Sep 08 '22 07:09 AmanAgarwal041

Closing because fixed here.

sumitsum avatar Oct 31 '23 10:10 sumitsum