Project

General

Profile

Bug #12263

Wrong regex in FileTemplate technique

Added by Félix DALLIDET 9 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
-
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

The regex to ensure the 16.353 chars was wrong. Also lowering a bit the limit (16353 => 16000) because exact limit does not seem to work properly.
For the max input i copy/paste a 16000 char long string from python, did not work. Not sure if it is because of auto \n entries that came in or because the 16353 limits that is false.
Anyway for long template a source file is more suited.


Related issues

Related to Rudder - Bug #12269: Regex in metadata.xml don't match when using .New

Associated revisions

Revision 4a8fc1a9 (diff)
Added by Félix DALLIDET 9 months ago

Fixes #12263: Wrong regex in FileTemplate technique

History

#1 Updated by Félix DALLIDET 9 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET

#2 Updated by Félix DALLIDET 9 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1268

#3 Updated by Félix DALLIDET 9 months ago

The case were expanding on the root server was broken, it was unused but class was rudder_server_root and not role_rudder_server_root

#4 Updated by Benoît PECCATTE 9 months ago

  • Related to Bug #12269: Regex in metadata.xml don't match when using . added

#5 Updated by Félix DALLIDET 9 months ago

  • Status changed from Pending technical review to Pending release

#6 Updated by Alexis MOUSSET 8 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.11, 4.2.5 and 4.3.0~rc3 which were released today.

Also available in: Atom PDF