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

test #834

Open
ysong10 opened this issue Feb 25, 2021 · 2 comments
Open

test #834

ysong10 opened this issue Feb 25, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ysong10
Copy link
Owner

ysong10 commented Feb 25, 2021

To reproduce:

  1. Visit this fiddle:http://fiddle.jshell.net/w3e2x/5/show/
    • Notice how the array is handled: as a javascript array ("q":[1,2,3,4])
  2. Now visit this same fiddle giving the same array as a parameter: http://fiddle.jshell.net/w3e2x/5/show/#?q=1,2,3,4
    • You might want to open a new window to make sure the page will be reloaded
    • Now notice how the arguments are shown, as a string: "q":"1,2,3,4"

The expected behavior would be:

On case 2, $location should return the search arguments as a javascript array ("q":[1,2,3,4]) instead of as a string with objects separated by commas ("q":"1,2,3,4").

@bee-tool bee-tool bot added the bug Something isn't working label Feb 25, 2021
@bee-tool
Copy link

bee-tool bot commented Feb 25, 2021

Quality assessment:
The bug report appears to be complete!

@bee-tool
Copy link

bee-tool bot commented Feb 25, 2021

Title: test

Description:

To reproduce:

  1. Visit this fiddle:http://fiddle.jshell.net/w3e2x/5/show/
    • Notice how the array is handled: as a javascript array ("q":[1,2,3,4])
  2. Now visit this same fiddle giving the same array as a parameter: http://fiddle.jshell.net/w3e2x/5/show/#?q=1,2,3,4
    • You might want to open a new window to make sure the page will be reloaded
    • Now notice how the arguments are shown, as a string: "q":"1,2,3,4"

The expected behavior would be:

On case 2, $location should return the search arguments as a javascript array ("q":[1,2,3,4]) instead of as a string with objects separated by commas ("q":"1,2,3,4").

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