Random Characters appearing in Web Form address

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Random Characters appearing in Web Form address

Postby wjohnson133 » Mon Sep 28, 2020 7:28 pm

I am adding a field at the end of an address I am putting in the webform field of a call list it is a --custom_field-- and when it brings the address up it does it but it adds a "-" in the front and "+" to the end. I don't understand why.
Architecture: x86_64 CPU(s): 2 CPU family: 15 Model: 6
Model name: Intel(R) Pentium(R) 4 CPU 3.20GHz
Linux version 4.1.39-56-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VICIDIAL VERSION: 2.14-831a BUILD: 211012-0934
wjohnson133
 
Posts: 45
Joined: Wed Mar 15, 2017 2:00 pm

Re: Random Characters appearing in Web Form address

Postby carpenox » Mon Sep 28, 2020 8:07 pm

are you using --A--custom_field_--B-- like that?
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Random Characters appearing in Web Form address

Postby wjohnson133 » Tue Sep 29, 2020 8:57 am

carpenox wrote:are you using --A--custom_field_--B-- like that?

Yes and it is putting in the value from the custom field but it is adding a "-" at the beginning and a "+" at the end.
Architecture: x86_64 CPU(s): 2 CPU family: 15 Model: 6
Model name: Intel(R) Pentium(R) 4 CPU 3.20GHz
Linux version 4.1.39-56-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VICIDIAL VERSION: 2.14-831a BUILD: 211012-0934
wjohnson133
 
Posts: 45
Joined: Wed Mar 15, 2017 2:00 pm

Re: Random Characters appearing in Web Form address

Postby carpenox » Tue Sep 29, 2020 9:39 am

it may be a bug....what are the steps you took and I will try to reproduce the error.....
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Random Characters appearing in Web Form address

Postby wjohnson133 » Sun Oct 04, 2020 6:30 pm

carpenox wrote:it may be a bug....what are the steps you took and I will try to reproduce the error.....


I put VARhttps://xxxx.xxxxxx.com/Opportunity/ ... ityid--B-- in the webform field for the campaign and opportunityid is a custom field when it comes up on an answered call it comes up ex. https://xxxx.xxxxxx.com/Opportunity/man ... ID=-12345+ when the opportunity id is 12345. When I click the webform button from the agent screen though it comes up https://xxxx.xxxxxx.com/Opportunity/man ... t&ID=12345
Architecture: x86_64 CPU(s): 2 CPU family: 15 Model: 6
Model name: Intel(R) Pentium(R) 4 CPU 3.20GHz
Linux version 4.1.39-56-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VICIDIAL VERSION: 2.14-831a BUILD: 211012-0934
wjohnson133
 
Posts: 45
Joined: Wed Mar 15, 2017 2:00 pm

Re: Random Characters appearing in Web Form address

Postby williamconley » Sun Oct 04, 2020 10:04 pm

Verify that the field itself does not contain extraneous characters such as a space or other invisible characters. Forcibly replace one with text on the CLI in a mysql query to be sure whatever software you used to insert the values didn't toss in some invisible crap you don't want.

I admit this would not explain why it comes up differently in those two situations, it's still possible as a lot of the code in Vicidial is duplicated rather than "function", so two different uses of the same data may be handled differently (in which case it's ALSO a bug if that's your error!)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 61 guests