28 May
2003
28 May
'03
5:41 p.m.
Gilles Lenfant wrote:
Hi,
Is there a simple way to get the *full* URL (the one shown in the browser, including the query)
REQUEST.URL stops before that query.
A simple PythonScript should do the job: URL = context.REQUEST.get('URL') QUERY_STRING = context.REQUEST.get('QUERY_STRING') if QUERY_STRING: return "%s?%s" % (URL, QUERY_STRING) else: return URL Cheers, Maik