Dotclear

Changeset 321:7b94c89bafa4


Ignore:
Timestamp:
06/01/11 14:31:03 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
2.3
Message:

Fixed incorrect prof_url in dev mode. Closes #1190 thanks JcDenis?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r270 r321  
    270270               } else { 
    271271                    $prof_url = http::getSelfURI(); 
    272                     $prof_url .= (strpos($prof_url,'?') === false) ? '?' : '&amp;'; 
     272                    $prof_url .= (strpos($prof_url,'?') === false) ? '?' : '&'; 
    273273                    $prof_url .= 'XDEBUG_PROFILE'; 
    274                     $res .= '<p><a href="'.$prof_url.'">Trigger profiler</a></p>'; 
     274                    $res .= '<p><a href="'.html::escapeURL($prof_url).'">Trigger profiler</a></p>'; 
    275275               } 
    276276                
Note: See TracChangeset for help on using the changeset viewer.

Sites map