Do not allow repetition of characters in randomStrings
Use uriEncodeComponent to accommodate old course codes