request.folder no longer ends with os.sep

This commit is contained in:
mdipierro
2019-03-31 19:46:55 -07:00
parent 66d5faf78f
commit 18da4fa7fd
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ def wsgibase(environ, responder):
request.update(
client=client,
folder=abspath('applications', app) + os.sep,
folder=abspath('applications', app),
ajax=x_req_with == 'xmlhttprequest',
cid=env.http_web2py_component_element,
is_local=(env.remote_addr in local_hosts and client == env.remote_addr),