diff --git a/common/lib/xmodule/xmodule/contentstore/content.py b/common/lib/xmodule/xmodule/contentstore/content.py index 48ef078fd9..085823c4c7 100644 --- a/common/lib/xmodule/xmodule/contentstore/content.py +++ b/common/lib/xmodule/xmodule/contentstore/content.py @@ -24,7 +24,7 @@ class StaticContent(object): @staticmethod def compute_location(org, course, name, revision=None): - return Location([XASSET_LOCATION_TAG, org, course, 'asset', name, revision]) + return Location([XASSET_LOCATION_TAG, org, course, 'asset', Location.clean(name), revision]) def get_id(self): return StaticContent.get_id_from_location(self.location)