]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: LCFilter_S3::to_xml the second "prefix" missed "/" 17663/head
authorlu.shasha <lu.shasha@eisoo.com>
Tue, 12 Sep 2017 03:19:44 +0000 (11:19 +0800)
committerlu.shasha <lu.shasha@eisoo.com>
Tue, 12 Sep 2017 03:19:44 +0000 (11:19 +0800)
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
src/rgw/rgw_lc_s3.h

index 1ac30d8efe8999bff1c429c107b647e87c96e424..7ff1bf71ba5a69994db4df35b85c41aa048ff46f 100644 (file)
@@ -34,7 +34,7 @@ class LCFilter_S3 : public LCFilter, public XMLObj
   void to_xml(ostream& out){
     out << "<Filter>";
       if (!prefix.empty())
-        out << "<Prefix>" << prefix << "<Prefix>";
+        out << "<Prefix>" << prefix << "</Prefix>";
     out << "</Filter>";
   }
   void dump_xml(Formatter *f) const {