RipMeApp/ripme

Implement subdirectory sanitisation

Open

#16 geöffnet am 9. Juli 2017

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (640 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (3.524 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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