Merge r40240 from Zope 2.8 branch:

  Make ++skin++ work for Five views by putting another stub method on the
  request.  I wonder when we can retire ZPublisher and use zope.publisher
  instead.
parent 7e0b677a
...@@ -1339,6 +1339,10 @@ class HTTPRequest(BaseRequest): ...@@ -1339,6 +1339,10 @@ class HTTPRequest(BaseRequest):
def taintWrapper(self, enabled=TAINTING_ENABLED): def taintWrapper(self, enabled=TAINTING_ENABLED):
return enabled and TaintRequestWrapper(self) or self return enabled and TaintRequestWrapper(self) or self
def shiftNameToApplication(self):
"""see zope.publisher.interfaces.http.IVirtualHostRequest"""
# this is needed for ++skin++
def getURL(self): def getURL(self):
return self.URL return self.URL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment