Skip to content

Incorrect args split when one of the arguments is a string with commas #1

Description

@EugeneSqr

Consider the following string:
_.Recordings.from_request_url('http://a.b/c?nrids=1,2&rids=3,4&ridx=0', 'sn', 'cn')

Try wrapping it forward once.
Expected result:

_.Recordings.from_request_url(
    'http://a.b/c?nrids=1,2&rids=3,4&ridx=0', 'sn', 'cn')

Actual result:

_.Recordings.from_request_url(
    'http://a.b/c?nrids=1, 2&rids=3, 4&ridx=0', 'sn', 'cn')

Pay attention to extra spaces injected between 1 and 2 and also between 3 and 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions