The bug was introduced yesterday. Fixed in trunk now.

On Saturday, 27 June 2015 00:12:10 UTC-5, Massimo Di Pierro wrote:
>
> I this with the latest trunk or earlier version. It may be a recent bug. 
> Will fix it today.
>
> On Friday, 26 June 2015 18:05:27 UTC-5, Brian M wrote:
>>
>> I'm working on upgrading to the latest web2py version and may have 
>> uncovered a bug in the sanitizer. If you use XML(form.var.something, 
>> sanitize=True) and form.var.something is just a plain string without any 
>> tags then what you end up getting returned is an empty string rather than 
>> the original string.  I don't think this is the intended behavior and 
>> certainly wasn't the behavior in earlier versions.  Have I been using XML() 
>> wrong all this time or is this a bug?
>>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to