Skip to content

Commit 85769ca

Browse files
Bump to 1.0.3 (#159)
* Fixed security issue
1 parent 6087bed commit 85769ca

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.3
2+
3+
* Remediated security vulnerability caused by messaging complete file path in
4+
WagonError in extract_source method
5+
16
## 1.0.2
27

38
* Update dependencies, replace obsolete, making Wagon compatible with Python 3.12

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def read(*parts):
2727

2828
setup(
2929
name='wagon',
30-
version='1.0.2',
30+
version='1.0.3',
3131
url='https://github.com/cloudify-cosmo/wagon',
3232
author='Cloudify',
3333
author_email='cosmo-admin@cloudify.co',

wagon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def extract_source(source, destination):
664664
raise WagonError(
665665
'Failed to extract {0}. Please verify that the '
666666
'provided file is a valid zip or tar.gz '
667-
'archive'.format(source))
667+
'archive'.format(os.path.basename(source)))
668668

669669
source = os.path.join(
670670
destination, [d for d in next(os.walk(destination))[1]][0])

0 commit comments

Comments
 (0)