RipMeApp/ripme

Implement subdirectory sanitisation

Open

#16 opened on Jul 9, 2017

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Java (3,524 stars) (640 forks)batch import
enhancementhelp wanted

Description

The addURLToDownload method in AbstractRipper should have sanitisation implemented for sub directories. It's currently possible to pass invalid characters and have the directory creation fail. This is particularly an issue on Windows platforms.

Another side effect of no sanitisation is that slashes in the directory name create further subdirectories.

Contributor guide