request.folder no longer ends with os.sep
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# For Google App Engine deployment, copy this file to app.yaml
|
||||
# and edit as required
|
||||
# See http://code.google.com/appengine/docs/python/config/appconfig.html
|
||||
# and http://web2py.com/book/default/chapter/11?search=app.yaml
|
||||
# See https://cloud.google.com/appengine/docs/standard/python/config/appref
|
||||
# and http://www.web2py.com/book/default/chapter/13#Deploying-on-Google-App-Engine
|
||||
|
||||
application: yourappname
|
||||
version: 1
|
||||
|
||||
+1
-1
@@ -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),
|
||||
|
||||
+1
-1
Submodule gluon/packages/dal updated: 49c5ec284d...e973f27b69
Reference in New Issue
Block a user