Project

General

Profile

Actions

Bug #25542

open

inventories with utf8 software don't show up with utf8 software in the ui

Added by Nicolas CHARLES 2 days ago. Updated about 16 hours ago.

Status:
In progress
Priority:
2
Category:
Web - Nodes & inventories
Target version:
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


Related issues 1 (1 open0 closed)

Related to Rudder - Bug #25395: Fusion inventory fails to report software with exotic names - some entries randomly disappearPending releaseFélix DALLIDETActions
Actions #1

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
Actions #2

Updated by François ARMAND about 23 hours ago

  • Assignee set to François ARMAND
  • Priority changed from N/A to 1 (highest)
Actions #3

Updated by François ARMAND about 18 hours ago

  • Status changed from New to In progress

Updated by François ARMAND about 16 hours ago

So, I can reproduce it. It's not a parsing problem, nor a save problem: it's OK in LDAP:

But the UI shows:

Actions #5

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.

Actions #6

Updated by François ARMAND about 16 hours ago

  • Priority changed from 1 (highest) to 2

(and so it's less prioritary)

Actions #7

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

Actions #8

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

Also available in: Atom PDF