Hi,

This is kind of a bug and kind of a feature, and I presume it would happen 
with any two-part file extension. 

When I upload a .tar.gz file into my app, w2p appropriately renames the 
file preserving the extension, but the problem is, w2p assumes the 
extension is .gz and not the entire .tar.gz string, which causes an issue 
in my app, where .tar.gz and .gz files are handled differently. 

I looked through the source but wasn't able to find where the uploaded file 
renaming was done. 

This is on 2.17.2

Thanks for any help!


-- 
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