Changeset 2416 for trunk/wp-includes/feed-functions.php
- Timestamp:
- 03/07/2005 08:56:47 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-functions.php
r2389 r2416 147 147 foreach($val as $enc) { 148 148 $enclosure = split( "\n", $enc ); 149 print "<enclosure url='".trim( $enclosure[ 0 ])."' length='".trim( $enclosure[ 1 ] )."' type='".trim( $enclosure[ 2 ] )."'/>\n";149 print "<enclosure url='".trim( htmlspecialchars($enclosure[ 0 ]) )."' length='".trim( $enclosure[ 1 ] )."' type='".trim( $enclosure[ 2 ] )."'/>\n"; 150 150 } 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.