Skip to content

Zimbra address book with space in name confuses urlquoting #87

@davidfraser

Description

@davidfraser

I have several address books with spaces in their names. If I configure them in the categories list with a space:

categories = Contacts,Emailed Contacts

then the _normalize_href function assertion x.startswith(self.session.url) fails, because href and x (the result of urljoin(session.url, href)) contain the quoted version of the category (Emailed%20Contacts), but session.url contain the unquoted version.
If I rather configure the categories list with a urlquoted-name:

categories = Contacts,Emailed%20Contacts

then the assertion still dies, because href and x now end up containing the unquoted version of the category...

Metadata

Metadata

Assignees

No one assigned

    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