Issue #18092 has been updated by Matthaus Owens.

Status changed from Code Insufficient to Merged - Pending Release

Merged commit 
<https://github.com/adrienthebo/puppet/commit/657dccd2b74edf8e9cc9c44b9ce96258dfe68019>
 into master in commit 
<https://github.com/puppetlabs/puppet/commit/06dabae3acfc7a8857f364a1b47b9bea37aff1ca>.
 Thanks Adrien!
----------------------------------------
Bug #18092: network device - enable password with a sharp is not correctly 
parsed
https://projects.puppetlabs.com/issues/18092#change-84142

Author: Guillaume Rose
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: device
Target version: 3.2.0
Affected Puppet version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/1327


Since the device is defined by an URI, when the enable password contains a 
sharp, the password used is not correct.

Example : 
uri = URI.parse "ssh://login:[email protected]/?enable=begin#end"
uri.query # => enable=begin
uri.fragment # => end

The parser uses uri.query and this regex to extract the password query =~ 
/enable=(.*)/.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to