Changeset 817

Show
Ignore:
Timestamp:
02/01/04 02:30:37 (5 years ago)
Author:
mikelittle
Message:

Task ID 73
Added htmlspecialchars and stripslashes where appropriate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-links-opml.php

    r816 r817  
    4949             } // end if not first time 
    5050?> 
    51         <outline type="category" text="<?php echo($result->cat_name) ?>"> 
     51        <outline type="category" text="<?php echo(htmlspecialchars(stripslashes($result->cat_name))) ?>"> 
    5252<?php 
    5353             $prev_cat_id = $result->link_category; 
    5454        } // end if new category 
    5555?> 
    56             <outline type="link" text="<?php echo($result->link_name) ?>" url="<?php echo($result->link_url) ?>"/> 
     56            <outline type="link" text="<?php echo(htmlspecialchars(stripslashes($result->link_name))) ?>" url="<?php echo($result->link_url) ?>"/> 
    5757<?php 
    5858        } // end foreach