Project

General

Profile

Bug #15531

s3website: x-amz-website-redirect-location header returns malformed HTTP response

Added by Robin Johnson over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/16/2016
Due date:
% Done:

0%

Spent time:
Source:
Community (dev)
Tags:
rgw, s3website
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

The x-amz-website-redirect-location header that is supposed to allow per-object redirection seems to have started returning a very malformed response since the NFS/err branch was merged with it.

The connection returns JUST:
"""
Content-Length: 0
Date: ....
"""
and nothing else. Somewhere the start of the HTTP output isn't firing anymore


Related issues

Copied to rgw - Backport #15841: jewel: s3website: x-amz-website-redirect-location header returns malformed HTTP response Resolved

History

#1 Updated by Robin Johnson over 2 years ago

  • Status changed from In Progress to Need Review

Fix in:
https://github.com/ceph/ceph/pull/8633

Covered by s3-tests (website branch):
s3tests.functional.test_s3_website:test_website_xredirect_public_relative
s3tests.functional.test_s3_website:test_website_xredirect_public_abs
s3tests.functional.test_s3_website:test_website_xredirect_private_relative
s3tests.functional.test_s3_website:test_website_xredirect_private_abs
s3tests.functional.test_s3_website:test_website_xredirect_nonwebsite

#2 Updated by Robin Johnson over 2 years ago

  • Backport set to jewel

#3 Updated by Nathan Cutler over 2 years ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler over 2 years ago

  • Copied to Backport #15841: jewel: s3website: x-amz-website-redirect-location header returns malformed HTTP response added

#5 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF