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 #831

Closed
ysong10 opened this issue Nov 18, 2020 · 2 comments
Closed

test #831

ysong10 opened this issue Nov 18, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ysong10
Copy link
Owner

ysong10 commented Nov 18, 2020

To reproduce:
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])
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 Nov 18, 2020
@bee-tool
Copy link

bee-tool bot commented Nov 18, 2020

Quality assessment:
The bug report appears to be complete!

@bee-tool
Copy link

bee-tool bot commented Nov 18, 2020

Title: test

Description:

To reproduce:
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])
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").

@ysong10 ysong10 closed this as completed Nov 18, 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