so I'm fairly certain we guard against non-{ascii, '.', '-', '_'} characters appearing in the course number. However I've added a quick regex to guarantee we don't have those characters. I decided to swap any invalid characters with a "_" - let me know if you think a different substitution is more appropriate.