I believe this to be a bug, so I submitted a bug report:
https://github.com/web2py/web2py/issues/2289
--
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)
---
Y
> 2.xlabel = label.decode('utf-8')label = cgi.escape(label)
> label = label.encode('ascii', 'xmlcharrefreplace')return label*
>
> Have a try, hope it helps!
>
> Best regards
> Clemens
>
>
>
> On Friday, February 28, 2020 at
tiatpi.py")
def print():
return dict(content='Data with "dschörmän" Umlauts')
Pressing the first link I get presented with expected web page.
Pressing on the second link I receive an Internal error:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Traceback (most recent
Hi!
I've successfully set up ldap auth (against an Active Directory), allowing
users to log in with their username/password credential.
But I've two issues related to ldap auth remaining:
1. Why do I get no user_groups, if user log's in with scope, eg.
'testuser' vs. 'testu...@example.co
I think I misunderstood your answer the first time I read it.
Am Freitag, 27. Oktober 2017 15:39:33 UTC+2 schrieb Anthony:
>
> The Auth login method adds _next as a hidden input in the login form, so
> _next ends up in both request.get_vars and request.post_vars. Because
> request.vars combines
Reading your answer I realize, that I'm not doing it "the right way" :)
I don't know when I added the next-parameter to the return value, but that
was clearly a mistake. I'll remove it and try again!
Many thanks for your answer,
Silvan
--
Resources:
- http://web2py.com
- http://web2py.com/book
Sry, forgot to mention: Ubuntu Linux Ubuntu 14.04.5 LTS with
web2py 2.15.2-stable
--
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 mess
Hi!
I found the _next-parameter to become an array during login and I wonder if
this is a feature and if I'm using it "the right way(tm)".
Situation is as follows:
def user():
import logging
logging.warn('default/user _next={}'.format(request.vars._next))
return dict(form=auth(), ne
Hi!
Am Donnerstag, 14. Januar 2016 21:04:25 UTC+1 schrieb Anthony:
>
> Looks like the way you were using it before wasn't supposed to work but
> did due to a bug. The purpose of the "record" argument is to enable a
> database record to be updated, and so it is expected that the record will
> ha
Hi!
I just upgraded web2py to 2.13.4, and now some of my SQLFORM.factory-forms
stopped working as expected.
Upon submission of the data entered, I get an error:
user is tampering with form's record_id: !=
None
here an example of code:
def get_some_input():
if ('my_data' in session):
This is a rather old post, but it still was involved in finding a solution
to a similar problem, which I came across:
Am Montag, 17. Mai 2010 11:44:20 UTC+2 schrieb Andrew Buchan:
>
> My question is, how do I get a read-only form to display the
> Department_Name instead of the id of the referenc
11 matches
Mail list logo