Skip to content

Special characters not working as mssql password #717

@maciej-skorupka

Description

@maciej-skorupka

Prerequisites

  • I've searched the current open issues
  • I've updated to the latest version of Toolbox

Toolbox version

0.7.0

Environment

  1. OS type and version: Windows 11
  2. How are you running Toolbox:
  • As a downloaded binary directly from github

Client

  1. Client: running a command line on windows
toolbox.exe --tools-file "tools.yaml" --log-level DEBUG

Expected Behavior

I'd like toolbox to connect to the database even when the password contains special characters

Current Behavior

2025-06-16T17:24:21.8764283+02:00 ERROR "toolbox failed to initialize: unable to initialize source "mysource": unable to connect successfully: parse "sqlserver://username:113%0SoAda2m@somedatabase.database.windows.net:1433?database=mydb": invalid URL escape "%0S""

Steps to reproduce?

  1. Run "toolbox.exe --tools-file "tools.yaml" --log-level DEBUG"
  2. tools.yaml content:
sources:
    mysource:
        kind: mssql
        host: somedatabase.database.windows.net
        port: 1433
        database: mydb
        user: username
        password: '113%0SoAda2m'
        
        

Additional Details

No response

Metadata

Metadata

Assignees

Labels

priority: p0Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions