Univention Bugzilla – Bug 53384
AppCenter UMC: AppCenter breaks for apps with single quote in name (Let's Encrypt)
Last modified: 2021-06-22 08:30:47 CEST
Created attachment 10744 [details] Temporary fix AppCenter UMC: AppCenter breaks for apps with single quote in name (Let's Encrypt) If apps contain a single quote in their name the appcenter javascript breaks. How to reproduce: activate the test appcenter Open the Let's Encrypt app I attached a temporary fix which fixes single quotes but breaks double quotes...
Dojo's data-dojo-props seem to be broken for dynamic values. Fixed it as good as I could for AppInfo.js in 5342a03adb73d5984eede287981b127800b8d556 Bug #53384: Handle template error when opening Apps Package: univention-appcenter Version: 9.0.2-49A~5.0.0.202106070013 Branch: ucs_5.0-0 Scope: errata5.0-0 There may be more problems if the translations include a single quote (e.g., in French). For now we should at least be able to view Let's encrypt again. I will open a new bug for the rest of data-dojo-props after some consultation.
Changes -> OK Let's Encrypt can be opened -> OK jenkins -> OK YAML -> OK
<https://errata.software-univention.de/#/?erratum=5.0x9>
*** Bug 53494 has been marked as a duplicate of this bug. ***