Jira (PUP-8145) Spaces in file resource paths break filebucket

2017-11-13 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-8145 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Spaces in file resource paths break filebucket  
 
 
 
 
 
 
 
 
 
 
I verified that puppet agent correctly URI encodes the HTTP path, note mani%20fest.pp below, and it works as expected when using ruby webrick master: 
 
 
 
 
 
 
$ puppet filebucket backup 'mani fest.pp' 
 
 
 
 
... 
 
 
 
 
<- "HEAD /puppet/v3/file_bucket_file/sha256/e20dfbacb8b86a0c66de92b8fe749686a7b1a0bc531b7713b71ecd2a069ca32f//Users/josh/work/puppet/mani%20fest.pp?environment=production& HTTP/1.1\r\nAccept: application/octet-stream\r\nX-Puppet-Version: 5.3.3\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nUser-Agent: Puppet/5.3.3 Ruby/2.4.1-p111 (x86_64-darwin15)\r\nConnection: close\r\nHost: localhost:8140\r\n\r\n" 
 
 
 
 
-> "HTTP/1.1 404 Not Found \r\n" 
 
 
 
 
-> "X-Puppet-Version: 5.3.3\r\n" 
 
 
 
 
-> "Content-Type: application/json; charset=utf-8\r\n" 
 
 
 
 
-> "Server: WEBrick/1.3.1 (Ruby/2.4.1/2017-03-22) OpenSSL/1.0.2h\r\n" 
 
 
 
 
-> "Date: Mon, 13 Nov 2017 23:57:19 GMT\r\n" 
 
 
 
 
-> "Content-Length: 198\r\n" 
 
 

Jira (PUP-8145) Spaces in file resource paths break filebucket

2017-11-10 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8145 
 
 
 
  Spaces in file resource paths break filebucket  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Team:
 
 Platform Core 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8145) Spaces in file resource paths break filebucket

2017-11-10 Thread Patrick Grant (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Patrick Grant created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8145 
 
 
 
  Spaces in file resource paths break filebucket  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 5.3.2 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/11/10 8:44 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Patrick Grant 
 
 
 
 
 
 
 
 
 
 
When backing up a file resource to filebucket where the file path contains spaces, see manifest snippit: 
 
 
 
 
 
 
class space { 
 
 
 
 
	file { 'C:\Test space\space.txt': 
 
 
 
 
 	 ensure => 'file',