02-13-2014 11:53 PM - edited 03-17-2019 03:56 PM
Hi,
I think I have uncovered a bug related to custom tabs. When a user adds a custom tab with an URL containing an ampersand (&), the config file will become invalid. The page will load fine in Jabber, but when restarting Jabber, the custom tab will be lost, along with all other custom tabs and possibly other settings as well. The problem seems to be that the URL is not properly encoded before it gets added to the config file which then becomes invalid.
We have created a workaround for our service by changing our URL structure so this is not a problem for us at the moment, but it should probably be fixed in Jabber to prevent problems for other websites. Not sure where to report this bug, but hopefully it will be picked up by someone here.
Tested on Jabber 9.6.1.
Best regards,
Øystein
02-14-2014 07:43 AM
This is an xml limitation:
"Your XML can contain only valid XML character entity references. For example, use & instead
of &. If your XML contains invalid characters, the client cannot parse the configuration file"
02-14-2014 09:36 AM
I'm not talking about users adding tabs by editing the XML file manually - the problem occurs when users add a custom tab using the following method:
(source)
So the problem is that when the user enters a valid URL containing an ampersand, the Jabber client should rewrite it to valid XML before adding it to the XML file, but it doesn't.
Øystein
02-17-2014 06:39 AM
I can re-create this. We'll open a defect on this.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide