Add a note about what query-pr.web does.

This commit is contained in:
Simon L. B. Nielsen 2009-09-29 19:45:37 +00:00
parent a51561716a
commit a6fe60fd45
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=34741

View file

@ -26,7 +26,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.64 2008/01/26 15:53:55 shaun Exp $
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.65 2008/09/22 19:13:42 wosch Exp $
#
#
@ -302,6 +302,8 @@ if ($PR !~ /^$valid_pr$/ || $PR < 0) {
$PR = int $PR;
$PR = quotemeta $PR;
# Note: query-pr.web is just a anti DoS wrapper around query-pr which
# make sure we do not run too many query-pr instances at once.
if ($category) {
$category = quotemeta $category;
@query = split /\n/, qx(query-pr.web --full --category=${category} ${PR} 2>&1);