Isomorphic,
I am using the following code to export as pdf to the client. This works fine unless the export filename contains more than one single quote character.
Without single quotes in the export filename, the HTTP request URL looks like this:
With single quotes in the export filename (e.g 'My'Chart), the HTTP request URL is truncated:
The HTTP response has the following exception:
SmartClient Version: v10.1p_2017-03-11/Pro Deployment (built 2017-03-11)
Chrome Version: 59.0.3071.115 (Official Build) (64-bit)
Thanks.
I am using the following code to export as pdf to the client. This works fine unless the export filename contains more than one single quote character.
Code:
DSRequest requestProperties = new DSRequest(); requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD); requestProperties.setExportFilename("MyChart"); RPCManager.exportContent(AbstractChart.this, requestProperties)
Code:
http://127.0.0.1:8888/sandbox/sc/IDACall/MyChart?isc_rpc=1&isc_v=v10.1p_2017-03-11&isc_tnum=68
Code:
http://127.0.0.1:8888/sandbox/sc/IDACall/'My
Code:
java.lang.Exception: Non-RPC request ignored.<BR> at com.isomorphic.rpc.RPCManager.parseRequest(RPCManager.java:2105)<BR> at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:370)<BR> at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:350)<BR> at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:147)<BR>
Chrome Version: 59.0.3071.115 (Official Build) (64-bit)
Thanks.
Comment