Hi all,
I have a problem with a choice field in an item list that uses a REST Web Service as its data source.
When the text entered in the field contains certain special characters — specifically & or < — the autocomplete request fails and the data is not fetched. Based on the logs, the request doesn't even reach my endpoint — it fails inside WEBCON while building/serializing the request.
Environment:
WEBCON BPS 2025.1.1.44
Data source type: REST Web Service
Endpoint: custom/internal, fully under my control
HTTP method: POST (special characters are sent in the JSON request body)
Error from logs:
url: https://[internal-host]/api/nav/db/1/app/7/element/4256/autocomplete/search
action: SearchForAutocomplete
ip: 192.168.x.x
agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0
msg: An unhandled exception has occurred while executing the request.
ex: System.Exception: Błąd pobierania danych ze źródła o nazwie:
Lista producentów ID: 93
It looks like the issue is related to XML special character escaping somewhere during the serialization of the request body — the request fails before it ever leaves WEBCON, so the endpoint itself can be ruled out.
Has anyone encountered this before? Any suggestions on how to work around it — escaping the input on the WEBCON side, a known fix in a later patch, or any configuration trick — would be greatly appreciated.
Thanks in advance!