Skip to content

unescaped slashes for entry names/paths #205

@doganoo

Description

@doganoo

Hey there,

thank you for creating this awesome library!

I have noticed that entry names are not escaped. This leads to wrong path names, as you can see here:

Bildschirmfoto 2020-10-09 um 14 37 06

Bildschirmfoto 2020-10-09 um 14 38 03

Test/Entry is a password in Test/datenbank within the path ../Datenbanken/

Is it possible to escape those names? Or any known workarounds for this?

Thanks in advance!

EDIT

database = PyKeePass("", "") 

for group in database.groups:
    print(group.name)
    print("----------------")
    for entry in group.entries:
        print(entry.path)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions