Project

General

Profile

Bug #14806

rgw: TempURL authentication of Swift API doesn't work

Added by Radoslaw Zarzynski almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

authenticate_temp_url() has a check at the beginning to ensure that s->bucket_name is non-empty. Otherwise it returns -EPERM. Unfortunately, req_state::bucket_name isn't available when this code is executed (it's always empty). It will be set a bit later - in RGWHandler_REST_SWIFT::postauth_init().

Associated revisions

Revision 154d8654 (diff)
Added by Radoslaw Zarzynski almost 7 years ago

rgw: don't use req_state::bucket_name in TempURL of Swift API.

Fixes: #14806
Signed-off-by: Radoslaw Zarzynski <>

History

#1 Updated by Radoslaw Zarzynski almost 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Radoslaw Zarzynski

I'm working on that.

#2 Updated by Radoslaw Zarzynski almost 7 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Abhishek Lekshmanan over 6 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF