@core_helper
def full_current_url():
 return url_for(request.environ['CKAN_CURRENT_URL'], qualified=True)

@ core_helper def full_current_url ( ) : return url_for ( request . environ [ 'CKAN_CURRENT_URL' ] , qualified = True )
returns the fully qualified current url useful for sharing etc .