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

Password with equal signs can't be parsed as string #96

Open
workinghard opened this issue May 21, 2024 · 0 comments
Open

Password with equal signs can't be parsed as string #96

workinghard opened this issue May 21, 2024 · 0 comments

Comments

@workinghard
Copy link

While using Parse function in SapConnectionParameters.cs connectionString with multiple equal signs causing issues and does not work as intended.

Easy to reproduce:
Regex: "^\s*(?\S*)\s*=\s*(?\S*)\s*$"
Input: something=my=password
Output: key="something=my" value="password"

This issue can be avoided by using "SapConnection(SapConnectionParameters parameters)" constructor instead of "public SapConnection(string connectionString)". But it would be great to fix it.

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

No branches or pull requests

1 participant