forked from j62/ctbrec
1
0
Fork 0

Sanitize name before creeating a model object

Names can contain '/' on FC2Live, which messes with the directory
structure of recordings
This commit is contained in:
0xboobface 2019-01-27 15:18:19 +01:00
parent ba0c456f19
commit df38ed3027
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class Fc2Live extends AbstractSite {
@Override
public Model createModel(String name) {
name = name.replace("/", "_");
Fc2Model model = new Fc2Model();
model.setSite(this);
model.setName(name);