~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/s3/client.py

  • Committer: kapil.thangavelu at canonical
  • Date: 2011-08-19 14:39:48 UTC
  • mto: (96.1.1 txaws) (91.2.10 fix-s3-port)
  • mto: This revision was merged to the branch mainline in revision 99.
  • Revision ID: kapil.thangavelu@canonical.com-20110819143948-2qmj9katvu12y6l9
trailing slashes are important to nova-objectstore on bucket ops (per boto)

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
            if not self.object_name.startswith("/"):
55
55
                path += "/"
56
56
            path += self.object_name
 
57
        else:
 
58
            path += "/"
57
59
        return path
58
60
 
59
61
    def get_url(self):