Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 4.8.0
-
None
-
None
-
-
Agent
-
2
-
AP 2016-11-16
Description
While working on PUP-6188, it was discovered that puppet config set and puppet config print did not behave properly when using UTF-8 characters in the puppet.conf INI file.
This was traced back to a problem in Puppet::Settings::IniFile and it's ability to properly parse key / value pairs. In particular, RegEx \w character class doesn't work for Unicode, but [[:word:]] does - see more details in PUP-6875
Note that there might be 2 separate INI file parsers inside Puppet itself, and another in the INI module that might be worth investigating here.
Attachments
Issue Links
- blocks
-
PUP-6188 Document Puppet::FileSystem.open / exclusive_open encoding usage, and make existing code explicitly use encodings
-
- Closed
-