Skip to content

Handle redirects from x-amz-meta-dir-redirect#11

Merged
jonathansick merged 2 commits intomainfrom
redirect-on-dir-objects
Mar 25, 2022
Merged

Handle redirects from x-amz-meta-dir-redirect#11
jonathansick merged 2 commits intomainfrom
redirect-on-dir-objects

Conversation

@jonathansick
Copy link
Copy Markdown
Member

LTD has a way of creating S3 objects that indicate they're the name of a directory, and that therefore the content can be found at {original_key}/index.html. This change looks for the header and if it has a true value, sends a redirect to the browser.

LTD has a way of creating S3 objects that indicate they're the name of a
directory, and that therefore the content can be found at
{original_key}/index.html. This change looks for the header and if it
has a true value, sends a redirect to the browser.
@jonathansick jonathansick merged commit dd125df into main Mar 25, 2022
@jonathansick jonathansick deleted the redirect-on-dir-objects branch March 25, 2022 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant