From: <lu...@us...> - 2008-11-16 09:38:56
|
Revision: 254 http://s3tools.svn.sourceforge.net/s3tools/?rev=254&view=rev Author: ludvigm Date: 2008-11-16 09:38:51 +0000 (Sun, 16 Nov 2008) Log Message: ----------- Merge from 0.9.8.x branch, rel 245: * S3/S3.py: Escape parameters in strings. Fixes sync to and ls of directories with spaces. (Thx Lubomir Rintel from Fedora Project) Modified Paths: -------------- s3cmd/trunk/ChangeLog s3cmd/trunk/S3/S3.py Modified: s3cmd/trunk/ChangeLog =================================================================== --- s3cmd/trunk/ChangeLog 2008-11-16 09:37:44 UTC (rev 253) +++ s3cmd/trunk/ChangeLog 2008-11-16 09:38:51 UTC (rev 254) @@ -1,5 +1,8 @@ 2008-11-16 Michal Ludvig <mi...@lo...> + Merge from 0.9.8.x branch, rel 245: + * S3/S3.py: Escape parameters in strings. Fixes sync to and + ls of directories with spaces. (Thx Lubomir Rintel from Fedora Project) Merge from 0.9.8.x branch, rel 244: * s3cmd: Unicode brainfuck again. This time force all output in UTF-8, will see how many complaints we'll get... Modified: s3cmd/trunk/S3/S3.py =================================================================== --- s3cmd/trunk/S3/S3.py 2008-11-16 09:37:44 UTC (rev 253) +++ s3cmd/trunk/S3/S3.py 2008-11-16 09:38:51 UTC (rev 254) @@ -110,6 +110,7 @@ def _get_contents(data): return getListFromXml(data, "Contents") + prefix = self.urlencode_string(prefix) request = self.create_request("BUCKET_LIST", bucket = bucket, prefix = prefix) response = self.send_request(request) #debug(response) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |