Skip to content

_utf8_urlencode brokes list url-parameters #234

@VVasyaev

Description

@VVasyaev

As part of current job i need to check array-type url-parameters.
Like:
http://www.google.com/?ids[]=1&ids[]=2&ids[]=3

To get parameters with same names its possible to pass its values as list.
Like:

${values}    Create List    1    2    3
${params}    Create Dictionary    ids[]=${values}

Unfortunately robotframework-requests library's making any list-parameter to be string at the _utf8_urlencode method -- so my dictionary gets ids[]="[1,2,3]" instead of what it was before. So its impossible to pass array-parameters.

I've just remove _utf8_urlencode call and its working well.

Could you please look into that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions