Index: functions.php
===================================================================
--- functions.php	(revision 45706)
+++ functions.php	(working copy)
@@ -742,6 +742,12 @@
 	$post_links = apply_filters( 'enclosure_links', $post_links, $post_ID );
 
 	foreach ( (array) $post_links as $url ) {
+
+		$frag_test = @parse_url( $url );
+		if ( isset( $frag_test['fragment'] ) ) {
+		    $url = strip_fragment_from_url( $url );
+		}
+		
 		if ( $url != '' && ! $wpdb->get_var( $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE post_id = %d AND meta_key = 'enclosure' AND meta_value LIKE %s", $post_ID, $wpdb->esc_like( $url ) . '%' ) ) ) {
 
 			$headers = wp_get_http_headers( $url );
