Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 4.0.0
-
Coremunity
-
1
-
Platform Core KANBAN
-
Bug Fix
-
Remove Ruby workaround for wide character strings on Windows
Description
puppet/util/windows/string.rb currently contains some code intended to work around Ruby bugs prior to 2.1
This code should now be moot, but requires some validation \ verification.
Current callsites include:
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/file.rb
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/process.rb
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/api_types.rb#L25
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/security.rb
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/taskscheduler.rb
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/user.rb
https://github.com/puppetlabs/puppet/blob/master/spec/unit/util/windows/string_spec.rb
Make sure any module usage is monitored as well.
Attachments
Issue Links
- is blocked by
-
PUP-10254 Ensure Windows wide character strings have a wide terminator
-
- Closed
-
- relates to
-
PA-476 Update puppet-agent to use Ruby 2.4
-
- Closed
-
-
IAC-967 puppetlabs-motd: Determine root cause of missing chars / additional newline in reg values using Puppet 7
-
- Resolved
-
-
PUP-10602 Registry key values being truncated or superfluous newline present
-
- Resolved
-
-
PUP-3776 Upgrade Windows Ruby to 2.1.5
-
- Closed
-