From 4b4bdb494b6268e749b1c6b42d55a37de729b1a1 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 21 Sep 2010 15:05:29 -0700 Subject: [PATCH] rgw: url_decode url prefix --- src/rgw/rgw_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 5f075d035bd..a82ad7c2437 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -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()) {