404 error for unwanted unicode in url

LMS-2488

@sarina  @adampalay 

This is the actual fix for:
https://edx-wiki.atlassian.net/browse/LMS-2488
oh ok. Why not use `.copy()`? If you need to use `[:]`, can you add a comment explaining what that's doing?