Make download.php publicly accessible (bug #979538)
In commit 647a99fd1025ceb748f8455b82418b03d788f9a8 (see bug #914490),
the sitemaps were made available from the download.php script, but
this script is not publicly accessible, so crawlers would not be able
to download them.
Making the script public is okay here, because whenever a non-sitemap
file is requested, there is already an exception thrown if the user is
not logged in.
Change-Id: Ia9c62940ee7dada05f4f1b448ead0c146171535c
Signed-off-by: Richard Mansfield <email address hidden>
Reviewed: https:/ /reviews. mahara. org/1155 gitorious. org/mahara/ mahara/ commit/ e6bdf9dc45b3bfb 93baa7bb2dc5b1a 904510f4d7
Committed: http://
Submitter: Hugh Davenport (<email address hidden>)
Branch: 1.5_STABLE
commit e6bdf9dc45b3bfb 93baa7bb2dc5b1a 904510f4d7
Author: Richard Mansfield <email address hidden>
Date: Thu Apr 12 16:00:30 2012 +1200
Make download.php publicly accessible (bug #979538)
In commit 647a99fd1025ceb 748f8455b82418b 03d788f9a8 (see bug #914490),
the sitemaps were made available from the download.php script, but
this script is not publicly accessible, so crawlers would not be able
to download them.
Making the script public is okay here, because whenever a non-sitemap
file is requested, there is already an exception thrown if the user is
not logged in.
Change-Id: Ia9c62940ee7dad a05f4f1b448ead0 c146171535c
Signed-off-by: Richard Mansfield <email address hidden>