Double quotes in WebForm URL sometime corrupts the link
Posted: Fri Jul 31, 2020 5:07 pm
The following may not be a problem in vicidial.
In Agent Screen
In WEB Form I use a URL that calls an external CRM containing parameter names enclosed in double quotes.
In the campaign definition form, in WEB FORM, the url has been inserted replacing the double quotes with %22. In the database the URL has been saved with %22 in double quotes positions.
As a result,
at oubound/inbound call time , the web form is called correctly
at customer hungup time , in the DISPOSITION CALL form, the WEBFORM SUBMIT calls correctly the url.
But, when the user clicks on WebForm button, during the call, the URL is corrupted. It stops at the first double quote.
On the agent browser debug, I can see the <HREF .... web form link> associated with the Web Form button, containing double quotes.
Any help?
Our Installation:
Our Installation:
VERSION: 2.14-756a
BUILD: 200609-2257
Asterisk 13.29.2-vici
openSUSE Leap 15.1
In Agent Screen
In WEB Form I use a URL that calls an external CRM containing parameter names enclosed in double quotes.
In the campaign definition form, in WEB FORM, the url has been inserted replacing the double quotes with %22. In the database the URL has been saved with %22 in double quotes positions.
As a result,
at oubound/inbound call time , the web form is called correctly
at customer hungup time , in the DISPOSITION CALL form, the WEBFORM SUBMIT calls correctly the url.
But, when the user clicks on WebForm button, during the call, the URL is corrupted. It stops at the first double quote.
On the agent browser debug, I can see the <HREF .... web form link> associated with the Web Form button, containing double quotes.
Any help?
Our Installation:
Our Installation:
VERSION: 2.14-756a
BUILD: 200609-2257
Asterisk 13.29.2-vici
openSUSE Leap 15.1