From 5ad73c8eb63c8c8db451e5586860f52be8dd8874 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 17 Jun 2004 18:46:41 +0000 Subject: [PATCH] - Partial patch #8284 by jseng: made the RSS auto-discovery URL absolute even though that is not strictly necessary. --- modules/node.module | 2 +- modules/node/node.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/node.module b/modules/node.module index 3d3f6bf8a7fd..74e6e147e86f 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1505,7 +1505,7 @@ function node_page_default() { $result = pager_query('SELECT nid, type FROM {node} WHERE promote = 1 AND status = 1 ORDER BY static DESC, created DESC', variable_get('default_nodes_main', 10)); if (db_num_rows($result)) { - drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed') .'" />'); + drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed', NULL, NULL, TRUE) .'" />'); $output = ''; while ($node = db_fetch_object($result)) { diff --git a/modules/node/node.module b/modules/node/node.module index 3d3f6bf8a7fd..74e6e147e86f 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1505,7 +1505,7 @@ function node_page_default() { $result = pager_query('SELECT nid, type FROM {node} WHERE promote = 1 AND status = 1 ORDER BY static DESC, created DESC', variable_get('default_nodes_main', 10)); if (db_num_rows($result)) { - drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed') .'" />'); + drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed', NULL, NULL, TRUE) .'" />'); $output = ''; while ($node = db_fetch_object($result)) { -- GitLab