Skip to content

escape '%' when encoding device ID. #1

@MorningLightMountain713

Description

@MorningLightMountain713

Hi there, device ID's can contain %. (For example if a product class were G-240G-P genie would encode this as part of the device id as G%2D240G%2DP.

This:

requests.utils.quote(device_id)

Needs to be:

requests.utils.quote(device_id, safe='%')

Great module by the way! I was in the process of writing the same when I stumbled upon yours :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions