Treat directory objects as not found

Bug #1197655 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming
openstack-manuals
Fix Released
Medium
Tom Fifield

Bug Description

https://review.openstack.org/28841

Log:
commit 85b96040c89500cb78e77673674c20c23e2559ca
Author: Dan Hersam <email address hidden>
Date: Fri May 10 20:50:56 2013 +0000

   Treat directory objects as not found

    Make StaticWeb search for an index file rather than returning a 0-byte
    object.

    Add new StaticWeb header to identify a directory marker object:
    X-Container-Meta-Web-Directory-Type (default to application/directory)
    so user can specify the content type for directory marker objects.
    This required requesting the container headers earlier in the code and
    clearing the value of _error for non-404 errors.

    Add unit tests for directory object scenarios.
    Fix end tags in an unrelated HTML block.

Tags: havana swift
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
tags: added: swift
Changed in openstack-manuals:
milestone: none → havana
Revision history for this message
Tom Fifield (fifieldt) wrote :

Static web needs to be re-documented. Add it to a new xml file under doc/admin-guide-cloud/ch_objectstorage.xml, using the text from staticweb.py

tags: added: havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: havana → juno
Changed in openstack-api-site:
milestone: none → juno
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Tom Fifield (fifieldt) wrote :
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → Fix Released
milestone: juno → kilo
Changed in openstack-api-site:
milestone: juno → kilo
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/168000

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/168000
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=c2d02c49a13bae825ee400b5db34f6b858bd5691
Submitter: Jenkins
Branch: master

commit c2d02c49a13bae825ee400b5db34f6b858bd5691
Author: Diane Fleming <email address hidden>
Date: Thu Mar 26 08:56:27 2015 -0500

    Add X-Container-Meta-Web-Directory-Type to Add container meta.

    Change-Id: If4eb66643dda0595f405540f209560eea495432c
    Closes-Bug: #1197655

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.