Project

General

Profile

Actions

Bug #14806

closed

rgw: TempURL authentication of Swift API doesn't work

Added by Radoslaw Zarzynski about 8 years ago. Updated almost 8 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().

Actions #1

Updated by Radoslaw Zarzynski about 8 years ago

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

I'm working on that.

Actions #2

Updated by Radoslaw Zarzynski about 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Abhishek Lekshmanan almost 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF