]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: url_decode url prefix
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 21 Sep 2010 22:05:29 +0000 (15:05 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 21 Sep 2010 22:10:48 +0000 (15:10 -0700)
src/rgw/rgw_op.cc

index 5f075d035bd9b2f3ec5b84524fc090bcb2fc7cb9..a82ad7c24379acd31b19862ea5dbdbad61d5f6f1 100644 (file)
@@ -216,7 +216,7 @@ void RGWListBucket::execute()
     goto done;
   }
 
-  prefix = s->args.get("prefix");
+  url_decode(s->args.get("prefix"), prefix);
   marker = s->args.get("marker");
   max_keys = s->args.get("max-keys");
  if (!max_keys.empty()) {