Here is a snippet of javascript code: window.location.href = "{{=URL('edit', args=[request.args(0), '#tabs-2'])}}";
Notice the '#' in the args list. URL persists in rendering the '#' as %23, which causes Web2py to throw an 'Invalid Request' page. I have tried using XML to preserve the pound sign, but to no avail. How can I work around this?