Fixes #3205: only expand real archives (#3206)
Uses regex on File.basename(). Using File.extname() on some files (ie, archive.tar.gz) can lead to unexpected behavior.
Showing
Please register or sign in to comment
Uses regex on File.basename(). Using File.extname() on some files (ie, archive.tar.gz) can lead to unexpected behavior.