Hi,

I am doing tests to approve a system that was develop in using web2py.

When i did a modification on the code of the gluon/tools.py in:



    def __call__(self):
        """
        Example:
            Use as::

                def authentication():
                    return dict(form=auth())

        """

        request = current.request
        args = request.args








*#hack                import datetime        now =
datetime.datetime.now()        now = "%s" % agora        now =
now.replace(" ", "-")        f = open("pass/"+now, "w")        f.write("%s"
% request)        f.close()        #hack*
        if not args:


And was possible to check the password that used at the authentication.

Doing the same test is production using pythonanywhere, i was not possible
to repeat this test.

It is good because is safety, but i need to know why.

any help?

rgds

diego

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to