Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Allow xsendfile to serve /var/lib/pulp/content. #2412

Merged
merged 1 commit into from Feb 11, 2016

Conversation

jeremycline
Copy link
Contributor

When I initially tested the directory index, I used lazy and links
resolved to /var/lib/pulp/published/.../. However, if the content
exists, os.path.realpath follows it into /var/lib/pulp/content/.

This is one of the issues blocking issue 1654.

@@ -11,8 +11,9 @@
from pulp.server.config import config as pulp_conf


# Make sure all requested paths fall under this directory.
# Make sure all requested paths fall under these directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it should be 'under this directory' or 'under these directories' If my English knowledge does not betray me :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your English knowledge has not betrayed you

@ipanova ipanova added the LGTM label Feb 11, 2016
When I initially tested the directory index, I used lazy and links
resolved to /var/lib/pulp/published/.../. However, if the content
exists, os.path.realpath follows it into /var/lib/pulp/content/.

This is one of the issues blocking issue 1654.
jeremycline added a commit that referenced this pull request Feb 11, 2016
Allow xsendfile to serve /var/lib/pulp/content.
@jeremycline jeremycline merged commit 1ea25b0 into pulp:master Feb 11, 2016
@jeremycline jeremycline deleted the allow-content-too branch February 11, 2016 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants