not find why either send=URL('site') or
redirect(URL('admin','default','index',vars=dict(send=URL(args=request.args,
vars=request.vars is not picking up the correct routing and prepending
the rendered URL with my BASE ('/web2py')
On Monday, May 12, 2014 at 10:06:56 PM UTC-4, cowbert wrote:
When
FWIW: I am running web2py 2.9.12 (using source code) on: Apache/2.4.12
(Win32) OpenSSL/1.0.1l mod_wsgi/4.4.6 Python/2.7.9 configured and Windows
Server 2008 32-bit without any of the problems indicated by OP.
Specifically:
Apache is from ApacheLounge compiled with VC 9. This is required because
The app server that ships with web2py is a fork of the Rocket webserver:
https://pypi.python.org/pypi/rocket
It's written in pure python, so all of the security is how python sockets
and so forth is secure (see also the python httpserver module). Ultimately
if you are using web2py for
I'm trying to do a simple manual file upload (without DAL) and display
progress bar. I would prefer not to use any ajax helpers.
I'm trying to use the upload progress recipe (involving the cache.ram
tracking in copystream_progress).
Here's my controller default.py:
def index():
if
length and uploaded.
Can anybody help with this?
On Tuesday, July 1, 2014 2:00:33 PM UTC-4, cowbert wrote:
I'm trying to do a simple manual file upload (without DAL) and display
progress bar. I would prefer not to use any ajax helpers.
I'm trying to use the upload progress recipe (involving
It goes into a model file after auth has been instantiated. Everything in
the model is globalised as models are executed every time the app is
accessed. Example in db.py:
auth = Auth(db)
...
def user_bar():
bar = reference to auth.user to generate nav bar...
return bar
then you would
Actually ticket URLs are also broken in this way (since it sends to
/admin/ticket instead of to BASE + /admin/ticket...
On Monday, May 12, 2014 10:06:56 PM UTC-4, cowbert wrote:
When BASE is specified in a parameterized router, and an unauthenticated
session tries to go to the appadmin URL
When BASE is specified in a parameterized router, and an unauthenticated
session tries to go to the appadmin URL, the admin login controller fails
to prepend BASE to the value of the hidden form input element 'send',
causing redirection after authentication to redirect to the wrong URL (the
8 matches
Mail list logo