Changeset 939

Show
Ignore:
Timestamp:
09/25/07 17:29:52 (1 year ago)
Author:
mikey
Message:

escape page title

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/websites/memphis/stubMemphisProcessor.php

    r931 r939  
    174174    { 
    175175        $this->template->addGlobalVar('UCUO_FRAME', $this->getFrameId($page)); 
    176         $this->template->addGlobalVar('PAGE_TITLE', $page->getProperty('title')); 
     176        $this->template->addGlobalVar('PAGE_TITLE', htmlentities($page->getProperty('title'))); 
    177177        $this->template->addGlobalVar('PAGE_NAME', $this->getPageName()); 
    178178        $this->template->addGlobalVar('VARIANT', $this->session->getValue('net.stubbles.websites.variantmanager.variant', '')); 
     
    184184        } 
    185185 
    186         //    add meta information to the page 
     186        // add meta information to the page 
    187187        foreach ($this->config->getMetaTags() as $key => $value) { 
    188188            $this->template->addVar('frame', 'META_' . $key, htmlentities($value));