++skin++ namespace traversal broken

Bug #933307 reported by yuppie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Low
yuppie

Bug Description

This mail describes how the ++skin++ namespace should be used (I couldn't find a newer description):
https://mail.zope.org/pipermail/zope3-dev/2003-August/008188.html

In Zope 2 the URLs returned by methods like absolute_url() don't contain the /++skin++foo/ part of the current request. So with any link or redirect we loose the skin.

The problem is caused by ZPublisher.HTTPRequest.HTTPRequest.shiftNameToApplication: That method doesn't contain any code. Porting the implementation from zope.publisher to ZPublisher seems to fix this issue.

Revision history for this message
yuppie (yuppie3) wrote :
Changed in zope2:
status: Confirmed → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.