From 6636302f735d94fe91b83469f1610e4112a91838 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 27 Jan 2019 13:01:20 -0500 Subject: Update documentation to match more aggressive absolute path exclusion in resources. --- changelog.d/1635.change.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'changelog.d') diff --git a/changelog.d/1635.change.rst b/changelog.d/1635.change.rst index 7c35dfd1..d23f3fe3 100644 --- a/changelog.d/1635.change.rst +++ b/changelog.d/1635.change.rst @@ -1 +1 @@ -Resource paths are passed to ``pkg_resources.resource_string`` and similar no longer accept paths that traverse parents or begin with a leading ``/``. Violations of this expectation raise DeprecationWarnings and will become errors. +Resource paths are passed to ``pkg_resources.resource_string`` and similar no longer accept paths that traverse parents, that begin with a leading ``/``. Violations of this expectation raise DeprecationWarnings and will become errors. Additionally, any paths that are absolute on Windows are strictly disallowed and will raise ValueErrors. -- cgit v1.2.3