Fix location.url [LMS-2786]
Merge pull request #3929 from edx/sarina/lms-2786

Fix location.url [LMS-2786]