Changeset 6030

Show
Ignore:
Timestamp:
07/16/08 08:06:40 (4 months ago)
Author:
p_lindheimer
Message:

#2776: filter out potentially bad html tags from log file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/logfiles/module.xml

    r5434 r6030  
    22        <rawname>logfiles</rawname> 
    33        <name>Asterisk Logfiles</name> 
    4         <version>2.4.0</version> 
     4        <version>2.5.0</version> 
    55        <changelog> 
     6                *2.5.0* #2776: filter out potentially bad html tags from log file 
    67                *2.4.0* bumped for 2.4 
    78                *1.1.1* bump for rc1 
  • modules/branches/2.5/logfiles/page.logfiles.php

    r4549 r6030  
    1919                <hr><br> 
    2020                <?php 
    21                 echo system ('tail --line=2000 '.$amp_conf['ASTLOGDIR'].'/full | sed -e "s/$/<br>/"');  
     21                system ('tail --line=2000 '.$amp_conf['ASTLOGDIR'].'/full | sed -e "s,<,\&lt;,g;s,>,\&gt;,g;s/$/<br>/"');  
    2222                break; 
    2323 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads