Project

General

Profile

Bug #15531

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

Added by Robin Johnson almost 8 years ago. Updated over 7 years ago.

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

0%

Spent time:
Source:
Community (dev)
Tags:
rgw, s3website
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 almost 8 years ago

  • Status changed from In Progress to Fix Under 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 almost 8 years ago

  • Backport set to jewel

#3 Updated by Nathan Cutler almost 8 years ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler almost 8 years ago

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

#5 Updated by Loïc Dachary over 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF