bugfix
This commit is contained in:
parent
43b45f2645
commit
d2363e65d7
@ -360,7 +360,8 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
path = '%s/oops' % path
|
path = '%s/oops' % path
|
||||||
p = self.relatedurl(path,url)
|
p = self.relatedurl(path,url)
|
||||||
scheme = request.headers.get('X-Forwarded-Scheme') or request.scheme
|
scheme = request.headers.get('X-Forwarded-Scheme') or request.scheme
|
||||||
return '%s://%s%s' % (scheme, h, p)
|
port = request.headers.get('X-Forwarded-Port') or str(request.port)
|
||||||
|
return '%s://%s:%s%s' % (scheme, h, port, p)
|
||||||
|
|
||||||
async def path_call(self, request, path, params={}):
|
async def path_call(self, request, path, params={}):
|
||||||
url = self.entireUrl(request, path)
|
url = self.entireUrl(request, path)
|
||||||
|
Loading…
Reference in New Issue
Block a user