Commit db1ef4bd authored by Dries's avatar Dries

- Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers.

parent 074cafa2
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment