On Thursday, December 21, 2017 at 10:07:51 AM UTC-5, Ramos wrote: > > Not solved. I even set extension=None or extension="bbb" > keeps adding .pdf >
Are you sure extension="bbb" results in a "pdf" extension? If you are posting to the URL with a .pdf extension, that extension will be propagated by the URL() function by default. However, if you explicitly specify the "extension" argument (with any value other than None), it will use the value you provide (or no extension if set to False). If you want no extension, try: URL(..., extension=False) # Or any falsey value other than None Anthony -- 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.