RipMeApp/ripme

Implement subdirectory sanitisation

Open

#16 aperta il 9 lug 2017

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)Java (640 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (3524 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor