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
It copies the array so I am testing changing each variable independently as I iterate rather than having to change each variable in url_parts back to its original at each step of the iteration.