Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
EugeneSqr opened this issue Jul 10, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@EugeneSqr
Copy link
Owner

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

@EugeneSqr EugeneSqr added the bug Something isn't working label Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant