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