diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 42ab9e18278c52162c2d17c84ed4a16d5e162ce1..9595dc7dfb83cf4c773c91fa0fe8e59f7f3cb7ef 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -586,8 +586,8 @@ function theme_upload_attachments($files) {
   $rows = array();
   foreach ($files as $file) {
     if ($file->list) {
-      $href = check_url(($file->fid ? file_create_url($file->filepath) : url(file_create_filename($file->filename, file_create_path()))));
-      $text = check_plain($file->description ? $file->description : $file->filename);
+      $href = $file->fid ? file_create_url($file->filepath) : url(file_create_filename($file->filename, file_create_path()));
+      $text = $file->description ? $file->description : $file->filename;
       $rows[] = array(l($text, $href), format_size($file->filesize));
     }
   }