bugfix
This commit is contained in:
parent
05b96e89ab
commit
e62fd1548d
@ -389,7 +389,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
prepath = f'/{prepath}'
|
prepath = f'/{prepath}'
|
||||||
h = self.gethost(request)
|
h = self.gethost(request)
|
||||||
if url.startswith('/'):
|
if url.startswith('/'):
|
||||||
return f'{scheme}://{h}:{port}{url}{prepath}'
|
return f'{scheme}://{h}:{port}{prepath}{url}'
|
||||||
path = request.path
|
path = request.path
|
||||||
if self.request_filename and os.path.isdir(self.request_filename):
|
if self.request_filename and os.path.isdir(self.request_filename):
|
||||||
path = '%s/oops' % path
|
path = '%s/oops' % path
|
||||||
|
Loading…
Reference in New Issue
Block a user