[web2py] Re: HTML Parser of uploaded file

2014-02-15 Thread Luca Guerrieri
Infact ... my first problem is to retrieve the file ... @Anthony I would catch the file content during the upload (or near that moment) but I wasn't able to do it ... @Leonel Yes... I tried it and effectively it's better than internal HTML parser (TAG and other stuff) ... @All How can I read

[web2py] Re: HTML Parser of uploaded file

2014-02-14 Thread Anthony
Why are you using the custom store and retrieve methods? Note, looks like you might be vulnerable to a directory traversal attack (depending on whether you're validating the "filename" argument passed to the retrieve function). Anthony On Friday, February 14, 2014 5:21:40 AM UTC-5, Luca Guerri

[web2py] Re: HTML Parser of uploaded file

2014-02-14 Thread Leonel Câmara
BeautifulSoup http://www.crummy.com/software/BeautifulSoup/ is a common option. -- 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 messag