I think it needs a preceding slash question mark b/c the c4x ones look like
: /c4x/org/course/asset/path


On Wed, Apr 30, 2014 at 2:56 PM, Calen Pennington
<notifications@github.com>wrote:

> In common/lib/xmodule/xmodule/modulestore/locations.py:
>
> > +        return Location(course_key.org, course_key.course, course_key.run, self.category, self.name, self.revision)
> > +
> > +
> > +class AssetLocation(LocationBase, AssetKey):
> > +    CANONICAL_NAMESPACE = 'asset-location'
> > +    DEPRECATED_TAG = 'c4x'
> > +    __slots__ = LocationBase.KEY_FIELDS
> > +
> > +    def __init__(self, org, course, run, category, name, revision=None):
> > +        super(AssetLocation, self).__init__(org, course, run, category, name, revision)
> > +
> > +    @property
> > +    def path(self):
> > +        return self.name
> > +
> > +    def to_deprecated_string(self):
>
> Changed the URL_RE to ((?P<tag>[^:/]+)://?|/(?P<tag>[^/]+)), so it should
> accept either form now.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/3536/files#r12159617>
> .
>