summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-05-18 21:12:17 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-05-18 21:12:17 +0000
commit5154c3aca4c9362cbd0fb236e0ea9dd5c7c0aa78 (patch)
tree7593d7bd608e79ed6e18bc703af4da73e2f51cfb /modules/upload/upload.module
parentc3cf0622b62f2e72364417becf141316f069a9c5 (diff)
downloadbrdo-5154c3aca4c9362cbd0fb236e0ea9dd5c7c0aa78.tar.gz
brdo-5154c3aca4c9362cbd0fb236e0ea9dd5c7c0aa78.tar.bz2
- Fixing some plain/url check calls.
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 5302d5ac3..c0c7c6b86 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -247,7 +247,7 @@ function upload_nodeapi(&$node, $op, $arg) {
foreach ($node->files as $file) {
if ($file->list) {
$rows[] = array(
- '<a href="'. ($file->fid ? file_create_url($file->filepath) : url(file_create_filename($file->filename, file_create_path()))) . '">'. $file->filename .'</a>',
+ '<a href="'. check_url(($file->fid ? file_create_url($file->filepath) : url(file_create_filename($file->filename, file_create_path())))) .'">'. check_plain($file->filename) .'</a>',
format_size($file->filesize)
);
// We save the list of files still in preview for later