Pass along any _next url var as part of the outstanding queries, so web2py will know where to send the user once they come back from singing on.
Useful if the SAML auth is part of a CAS, because otherwise the user is sent from the CAS consumer -> CAS -> SSO -> CAS, and is never returned to the consumer application
Allows you to pick an entityid when using federation XML data or an MDQ with many entries. Pysaml2's MDQ metadata is loaded lazily, after you provide a key, so it's necessary to pass the entityid as a key
fixes the following syntax:
form = SQLFORM(table, record, readonly=readonly, deletable=True)
form.process()
if form.deleted:
pass
elif form.accepted:
pass
Any query like SELECT COUNT(*) from (SELECT COUNT(*) FROM ...) will fail with 'No column name was specified for column 1 of '_tmp'', so I'm providing an alias for the subquery's field
1. Handle hyphen -> underscore replacement of the app name early in map_app(), so the application can be identified and its routing rules used (if they exist). Without this, the rewriter fails to find the application with the hyphen in place, and reverts to the default.
2. Disable underscore -> hyphen mapping of app name when creating static URLs, as they will be invalid paths