Skip to content

double instance on slash in data #2374

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

Closed
anisimkov opened this issue Nov 16, 2015 · 1 comment
Closed

double instance on slash in data #2374

anisimkov opened this issue Nov 16, 2015 · 1 comment

Comments

@anisimkov
Copy link

http://plnkr.co/edit/czVg7DoKgKDsKXzpWc1P
There is a 3 buttons in sample "Send #", "Send &" and "Send /".
The problem is with a third one.
Click on that after the click on another button
causing the controller in the secondary state instantiated twice.
First instance got a right data in $stateParams.pns, second instance got a HTTP encoded data.
In the browser address line we see the double encoded pns field.
Next click to the "Send /" cause the right data arrived into the secondary state instance, but the pns parameter in the address line still double HTTP encoded.
There is a $log.debug calls in code to show twice instantiation.

The problem is in the 0.2.15 version and absent in the 0.2.14.

Best regards,
Dmitriy Anisimkov.

@eddiemonge
Copy link
Contributor

Yeah this is a duplicate of the encoding problem.

edit: Sorry, meant #1645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants