Hacked `PloneHotfix20130618/in_portal.py` to work on Plone 2.5:
9 def wrapped_in_portal(self, url, context=None):
10 if url is None: # njj: ancient Plone
11 url = ''
12 url = re.sub('^[\x00-\x20]+', '', url).strip()
13 -> try:
14 # njj: ancient Plone
15 # return orig(self, url, context)
16 return orig(self, url)