Project

General

Profile

Actions

Bug #23392

closed

Allow underscore in file_id in shared-files

Added by Alexis Mousset 8 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In https://github.com/Normation/rudder/pull/4956/files#diff-e493368395c19ced8e5bc2db8ddd279964c8ec7076a73b843856993c126dbbdcR60 we restricted the regex, but this lead to break the OpenSCAP plugin as it uses underscores in file ids.

Let's allow them, and match the constraint in the method.

Actions

Also available in: Atom PDF