svn: /web/php-bugs/trunk/www/rss/ bug.php
| From: | Felipe Pena | Date: | Mon, 04 Jul 2011 02:20:58 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/rss/ bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11457@lists.php.net to get a copy of this message | ||
felipe Mon, 04 Jul 2011 02:20:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312886
Log:
- Added check for private bug
Changed paths:
U web/php-bugs/trunk/www/rss/bug.php
Modified: web/php-bugs/trunk/www/rss/bug.php
===================================================================
--- web/php-bugs/trunk/www/rss/bug.php 2011-07-04 02:10:27 UTC (rev 312885)
+++ web/php-bugs/trunk/www/rss/bug.php 2011-07-04 02:20:58 UTC (rev 312886)
@@ -20,6 +20,11 @@
die('Nothing found');
}
+if ($bug['private'] == 'Y') {
+ header('HTTP/1.0 403 Forbidden');
+ die('Access restricted');
+}
+
$comments = bugs_get_bug_comments($bug_id);
if ($format == 'xml') {