Description
Using ui-router v0.2.15. Have a route in our AngularJS (v1.4.7) application setup as follows:
.state('routeState',
{
url: '/path/segment?param.sub.a¶m.sub.b¶m.sub.c',
...
}
As I understand the protocol, having periods inside of url query parameter names is valid. i.e.;
?first.name=Bobo&last.name=Muffy
When I setup this route in Angular, I get an error because the regex appears to be stripping out (or splitting up) the name portion into segments. So it essentially sees 'param.sub.a' as just 'param', and then errors out stating that 'param.sub.b' is a duplicate of 'param.sub.a' (because it only reads the 'param' portion of 'param.sub.b').
Unfortunately, we cannot change the parameter names as they are part of an existing protocol.
Is there a workaround to this issue? Hoping that I'm just missing something obvious already existing in the framework that can resolve this problem.