As noticed when reviewing #1994, when unarchiving a course, there's not check for bad characters in the course name. I put in a space and the course was created with spaces in the database tables and the directory. However, logging resulted in errors.
There's a check for new courses and we should use the same check here.
As noticed when reviewing #1994, when unarchiving a course, there's not check for bad characters in the course name. I put in a space and the course was created with spaces in the database tables and the directory. However, logging resulted in errors.
There's a check for new courses and we should use the same check here.