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

Fix: Allow brackets and en dash Unicode character in name and comment fields #93

Closed bjoernricks closed 1 year ago

bjoernricks commented 1 year ago

What:

Allow users to add curved brackets for name fields like target name. This seems to have worked before the pcre2 adjustments.

Additionally allow the en dash Unicode character (U+2013) for name and comment fields.

Closes #89

DEVOPS-475

Why:

All three characters seem to have worked before. Thus this PR is fixing a regression.

How:

Build a new GSA docker container with changed regrexps and tried to create a target including the new characters.