diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-27 13:01:20 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-27 13:01:20 -0500 |
| commit | 6636302f735d94fe91b83469f1610e4112a91838 (patch) | |
| tree | f1743a4b3c3c2b3004ee8fdda2f7d7f2d41d09fe /changelog.d | |
| parent | 91d769e88f0ae9e5dfce1fb9448864201407b579 (diff) | |
| download | external_python_setuptools-6636302f735d94fe91b83469f1610e4112a91838.tar.gz external_python_setuptools-6636302f735d94fe91b83469f1610e4112a91838.tar.bz2 external_python_setuptools-6636302f735d94fe91b83469f1610e4112a91838.zip | |
Update documentation to match more aggressive absolute path exclusion in resources.bugfix/1635-disallow-parent-paths
Diffstat (limited to 'changelog.d')
| -rw-r--r-- | changelog.d/1635.change.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
