greenbone / gsad

Greenbone Security Assistant HTTP Server - The server talking to the Greenbone Vulnerability Management daemon (gvmd).
GNU Affero General Public License v3.0
11 stars 14 forks source link

Unable to create/update entries with brackets in their names #89

Closed tgurr closed 1 year ago

tgurr commented 1 year ago

Expected behavior

Be able to edit previously created entries that have brackets in their names and also be able to create new ones.

Actual behavior

Trying to edit/update an entry, for example adding new hosts to an existing target that has a bracket in its name started to fail with "Given name was invalid" on trying to save the changes.

greenbone

Steps to reproduce

  1. Create/Edit an entry with brackets ( ) in their names.
  2. Try to save
  3. See error: "Given name was invalid"

GVM versions

gsa: Greenbone Security Assistant 22.04.0

gvm: Greenbone Vulnerability Manager 22.4.0~dev1

openvas-scanner: OpenVAS 22.4.0

gvm-libs: gvm-libs 22.4.0

Environment

Operating system: Exherbo Linux

Installation method / source: source-based packages

Logfiles

-

Additional information:

We've already applied patches from https://github.com/greenbone/gvmd/pull/1867 and https://github.com/greenbone/gsad/pull/88 for the compatibility with the recent glib stable version 2.74.0 which we ship, probably this problem is related to the glib/pcre changes as well any may be another fallout?