When user have a domain in userid like domaninname\userid we get an error when access to Insights:
Error Creating User In JasperIllegal character in path at index 85: HTTP://GES-SDM-DBI:8080/jasperserver-pro/rest_v2/organizations/casm_insights/users/domainnameuserid
Release : 17.2
Component : JASPERSOFT REPORTS FOR SERVICE MANAGEMENT
While defect get fixed, workaround the issue customizing launch_jasper.htmpl form:
var userid = $cst.userid;
var userid = '$cst.userid';
With this we retain special characters in userid.
and we need remove any backslash on userid due it is a illegal character on Jasper.
userid = userid.replace(/\\/g, '');
With this modification the issue is fixed.