web/views/basecontrollers.py
changeset 5868 c4380d8cfc25
parent 5762 730d458ec1bf
parent 5864 9b7c11e80d20
child 5869 8a129b3a5aff
equal deleted inserted replaced
5863:4495b9bc49df 5868:c4380d8cfc25
   164         # update breadcrumps **before** validating cache, unless the view
   164         # update breadcrumps **before** validating cache, unless the view
   165         # specifies explicitly it should not be added to breadcrumb or the
   165         # specifies explicitly it should not be added to breadcrumb or the
   166         # view is a binary view
   166         # view is a binary view
   167         if view.add_to_breadcrumbs and not view.binary:
   167         if view.add_to_breadcrumbs and not view.binary:
   168             self._cw.update_breadcrumbs()
   168             self._cw.update_breadcrumbs()
   169 
       
   170     def validate_cache(self, view):
       
   171         view.set_http_cache_headers()
       
   172         self._cw.validate_cache()
       
   173 
   169 
   174     def execute_linkto(self, eid=None):
   170     def execute_linkto(self, eid=None):
   175         """XXX __linkto parameter may cause security issue
   171         """XXX __linkto parameter may cause security issue
   176 
   172 
   177         defined here since custom application controller inheriting from this
   173         defined here since custom application controller inheriting from this