Skip to content

SNOW-828206: Passwords containing only [ or ] RFC 1738 non-compliant #415

Open
@JDarDagran

Description

@JDarDagran

Please answer these questions before submitting your issue. Thanks!

  1. What version of Python are you using?

3.10

  1. What operating system and processor architecture are you using?

Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-glibc2.35

  1. What are the component versions in the environment (pip freeze)?

//

  1. What did you do?
from snowflake.sqlalchemy import URL
from urllib.parse import urlparse

urlparse(URL(password='mypass]')) # throws exception
  1. What did you expect to see?

] should be encoded the same way as :@/ characters defined here: https://github.com/snowflakedb/snowflake-sqlalchemy/blob/main/src/snowflake/sqlalchemy/util.py#L24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus-pr_pending_mergeA PR is made and is under reviewstatus-triage_doneInitial triage done, will be further handled by the driver team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions