From db1ef4bd2ddf9beddac4ea47f361eb2718b4530c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Sep 2005 19:05:34 +0000 Subject: - Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers. --- includes/file.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/file.inc b/includes/file.inc index d91163dde..b57d4423b 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -36,7 +36,7 @@ function file_create_url($path) { case FILE_DOWNLOADS_PUBLIC: return $GLOBALS['base_url'] .'/'. variable_get('file_directory_path', 'files') .'/'. str_replace('\\', '/', $path); case FILE_DOWNLOADS_PRIVATE: - return url('system/files', 'file='. $path); + return url('system/files', 'file='. $path, NULL, TRUE); } } -- cgit v1.2.3