URI.escape() method has been removed in ruby 3 and the newly added Puppet::Util.rfc2396_escape()[1] has not been released yet. [1]41dcae71c7Closes-Bug: #1928685 Change-Id: I001d579a1b126fc8254f071ddbecda5cc6de7231 (cherry picked from commit0699227b3c)