Back to index

plone3  3.1.7
Variables
redirectToReferrer Namespace Reference

Variables

 request = context.REQUEST
 Script (Python) "redirectToReferrer" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=message title=Redirect to Referrer with message.
tuple referer = request.get('HTTP_REFERER', '')
tuple query_pos = referer.find('?')
list target_url = referer[:referer.find('?')]

Variable Documentation

tuple redirectToReferrer.query_pos = referer.find('?')

Definition at line 13 of file redirectToReferrer.py.

tuple redirectToReferrer.referer = request.get('HTTP_REFERER', '')

Definition at line 12 of file redirectToReferrer.py.

redirectToReferrer.request = context.REQUEST

Script (Python) "redirectToReferrer" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=message title=Redirect to Referrer with message.

Definition at line 11 of file redirectToReferrer.py.

redirectToReferrer.target_url = referer[:referer.find('?')]

Definition at line 15 of file redirectToReferrer.py.