URLencode $ and . in location.name when used as key
Merge pull request #1412 from edx/dhm/bug_id_syntax

URLencode $ and . in location.name when used as key