?
avatar Nepoh
Nepoh
22 Jan 2016

When the site is in offline mode, access to all pages is denied and the offline message is displayed instead. But when the feed version of a page is requested (by adding ?format=feed to the URL), the feed is returnd as if the site was not in offline mode.

Steps to reproduce the issue

  • Take a newly installed Joomla site offline ("Site Offline" option in the Global Configuration)
  • Try to access the main page that is created by default for new Joomla installations (a featured articles blog) in HTML and atom format. E.g.
    • /index.php vs. /index.php?format=feed
    • or /index.php?option=com_content&view=featured vs. /index.php?option=com_content&view=featured&format=feed

Expected result

When trying to access a feed, HTTP Error "503 Service Temporarily Unavailable" is returned and access to the resource is denied. The description in the configuration clearly says "Select whether access to the Site Frontend is available." so i would expect that all access is denied when the site is offline.

Actual result

The feed is returned (status code 200) as if the site was not in offline mode.

System information (as much as possible)

Fresh Joomla 3.4.8 installation on XAMPP for Windows

Additional comments

avatar Nepoh Nepoh - open - 22 Jan 2016
avatar brianteeman
brianteeman - comment - 22 Jan 2016

Sorry but thats now what "site offline" means

http://magazine.joomla.org/issues/issue-feb-2011/item/378-how-offline-is-joomla-offline-mode

On 22 January 2016 at 20:12, Nepoh notifications@github.com wrote:

When the site is in offline mode, access to all pages is denied and the
offline message is displayed instead But when the feed version of a page is
requested (by adding ?format=feed to the URL), the feed is returnd as if
the site was not in offline mode
Steps to reproduce the issue

  • Take a newly installed Joomla site offline ("Site Offline" option in the Global Configuration)
  • Try to access the main page that is created by default for new Joomla installations (a featured articles blog) in HTML and atom format Eg
    • /indexphp vs /indexphp?format=feed
    • or /indexphp?option=com_content&view=featured vs /indexphp?option=com_content&view=featured&format=feed

Expected result

When trying to access a feed, HTTP Error "503 Service Temporarily
Unavailable" is returned and access to the resource is denied The
description in the configuration clearly says "Select whether access to the
Site Frontend is available" so i would expect that all access is denied
when the site is offline
Actual result

The feed is returned (status code 200) as if the site was not in offline
mode
System information (as much as possible)

Fresh Joomla 348 installation on XAMPP for Windows
Additional comments


Reply to this email directly or view it on GitHub
#8965.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar Nepoh
Nepoh - comment - 22 Jan 2016

That is unfortunate. I'm even more astonished after reading the article - thanks for the hint.

avatar brianteeman brianteeman - change - 22 Jan 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-01-22 20:42:37
Closed_By brianteeman
avatar brianteeman brianteeman - close - 22 Jan 2016

Add a Comment

Login with GitHub to post a comment