When I use router.go in Ojet like below
self.args.router.go({ path: serverData.nextViewUrl, params: { c: serverData.sessionId } });
I get the following URL
?ojr=start_form%3Bc%3D63A4CC7E647582AF7E6C634B7FBF82F2
Above is the encoded URL. How do I get the correct decoded url by default in Ojet like below:
?ojr=start_form&c=D63A4CC7E647582AF7E6C634B7FBF82F2
Additional info:
Following is my router setup:
// Router setup
let router = new CoreRouter(navData, {
urlAdapter: new UrlParamAdapter()
});
router.sync();
this.moduleAdapter = new ModuleRouterAdapter(router);
this.selection = new KnockoutRouterAdapter(router);
// Setup the navDataProvider with the routes, excluding the first redirected
// route.
this.navDataProvider = new ArrayDataProvider(navData.slice(1), { keyAttributes: "path" });
I am using the latest OJet v11