|
a/src/mediaserver/cdplugins/uprcl/uprclhttp.py |
|
b/src/mediaserver/cdplugins/uprcl/uprclhttp.py |
|
... |
|
... |
153 |
return (f, start_range, end_range)
|
153 |
return (f, start_range, end_range)
|
154 |
|
154 |
|
155 |
|
155 |
|
156 |
def translate_path(self, opath):
|
156 |
def translate_path(self, opath):
|
157 |
path = urllib.unquote(opath)
|
157 |
path = urllib.unquote(opath)
|
|
|
158 |
# pathprefix is something like /uprcl
|
158 |
path = path.replace(self.uprclpathprefix, '', 1)
|
159 |
path = path.replace(self.uprclpathprefix, '', 1)
|
159 |
|
160 |
|
160 |
q = urlparse.urlparse(path)
|
161 |
q = urlparse.urlparse(path)
|
161 |
path = q.path
|
162 |
path = q.path
|
162 |
embedded = False
|
163 |
embedded = False
|