Actions
Bug #25542
openinventories with utf8 software don't show up with utf8 software in the ui
Status:
In progress
Priority:
2
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
inventory contains
<SOFTWARES> <ARCH>x86_64</ARCH> <FROM>registry</FROM> <GUID>{90150000-001F-0403-1000-0000000FF1CE}</GUID> <INSTALLDATE>25/09/2024</INSTALLDATE> <NAME>Microsoft Office Proofing Tools 2013 B€r#{| ¤*ﮝﮄﮔשׁﯺﻶ</NAME> <SYSTEM_CATEGORY>application</SYSTEM_CATEGORY> <VERSION>15.0.4569.1506</VERSION> </SOFTWARES>
Files
Updated by François ARMAND about 23 hours ago
- Related to Bug #25395: Fusion inventory fails to report software with exotic names - some entries randomly disappear added
Updated by François ARMAND about 23 hours ago
- Assignee set to François ARMAND
- Priority changed from N/A to 1 (highest)
Updated by François ARMAND about 18 hours ago
- Status changed from New to In progress
Actions
#4
Updated by François ARMAND about 16 hours ago
- File clipboard-202409261704-6fhsx.png clipboard-202409261704-6fhsx.png added
- File clipboard-202409261704-wegit.png clipboard-202409261704-wegit.png added
So, I can reproduce it. It's not a parsing problem, nor a save problem: it's OK in LDAP:
But the UI shows:
Updated by François ARMAND about 16 hours ago
- Target version changed from 8.2.0~beta2 to 8.1.8
I think it's just a display problem in fact.
Updated by François ARMAND about 16 hours ago
- Priority changed from 1 (highest) to 2
(and so it's less prioritary)
Updated by François ARMAND about 16 hours ago · Edited
It's our escapreJs method that does that in DisplayNode:
private def escapeJs(in: String): JsExp = Str(StringEscapeUtils.escapeEcmaScript(in))
It means that it's not very grave, and that the correction will need special care to not introduce a security vulnerability
Updated by François ARMAND about 16 hours ago · Edited
And it's a special weekness of the lib: https://stackoverflow.com/a/59332501
Actions