RipMeApp/ripme

Implement subdirectory sanitisation

Open

#16 opened on Jul 9, 2017

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

Repository metrics

Stars
 (3,524 stars)
PR merge metrics
 (No merged PRs in 30d)

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