File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def read(*parts):
2727
2828setup (
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' ,
Original file line number Diff line number Diff 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 ])
You can’t perform that action at this time.
0 commit comments