Jira (PUP-9696) Cannot use URIs that require escaping after interpolation

24 views
Skip to first unread message

Henrik Lindberg (JIRA)

unread,
May 9, 2019, 9:21:03 AM5/9/19
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
 
Puppet / Improvement PUP-9696
Cannot use URIs that require escaping after interpolation
Change By: Henrik Lindberg
Component/s: Hiera & Lookup
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Henrik Lindberg (JIRA)

unread,
May 9, 2019, 9:21:03 AM5/9/19
to puppe...@googlegroups.com
Henrik Lindberg moved an issue
Change By: Henrik Lindberg
Method Found: Needs Assessment
Affects Version/s: HI 3.4.3
Issue Type: Bug Improvement
Key: HI PUP - 612 9696
Project: Hiera Puppet

Henrik Lindberg (JIRA)

unread,
May 9, 2019, 9:22:02 AM5/9/19
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
May 9, 2019, 9:23:02 AM5/9/19
to puppe...@googlegroups.com
Henrik Lindberg commented on Improvement PUP-9696
 
Re: Cannot use URIs that require escaping after interpolation

Move the ticket to PUP project as this is hiera 5. Assigned it to Puppet 7, since the required change in Puppet (to escape special chars in URI) will potentially break hiera providers.

Melissa Stone (Jira)

unread,
Apr 29, 2020, 5:36:02 PM4/29/20
to puppe...@googlegroups.com
Melissa Stone updated an issue
 
Change By: Melissa Stone
Sub-team: Language
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Melissa Stone (Jira)

unread,
Apr 29, 2020, 5:36:03 PM4/29/20
to puppe...@googlegroups.com
Melissa Stone commented on Improvement PUP-9696
 
Re: Cannot use URIs that require escaping after interpolation

Probably some places we should be escaping but we aren't (ie forge)

URI.escape is deprecated in Ruby itself. Everyone either needs to use the Puppet URI escape/unescape logic in Puppet::Util, or we need to add something like addressable and using that everywhere. We might not want to expose that as the way to do it, but since this is in Heira, that should be okay.

What we should do is use the escape/unescape logic in Puppet::Util everywhere in puppet, and use addressable under the hood there. Then in hiera, we can just straight use addressable because that's in hiera.

Melissa Stone (Jira)

unread,
Apr 29, 2020, 5:36:03 PM4/29/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Aug 21, 2020, 6:43:03 PM8/21/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Grooming

Josh Cooper (Jira)

unread,
Aug 27, 2020, 3:43:03 PM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP- 9120 10649

Josh Cooper (Jira)

unread,
Oct 20, 2020, 11:49:03 AM10/20/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 20, 2020, 11:49:04 AM10/20/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 7.0.0

Josh Cooper (Jira)

unread,
May 3, 2021, 1:12:02 PM5/3/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Grooming
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages