Back to index

plone3  3.1.7
Namespaces | Variables
redirectToReferrer.py File Reference

Go to the source code of this file.

Namespaces

namespace  redirectToReferrer

Variables

 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.
tuple redirectToReferrer.referer = request.get('HTTP_REFERER', '')
tuple redirectToReferrer.query_pos = referer.find('?')
list redirectToReferrer.target_url = referer[:referer.find('?')]