[aur-dev] [PATCH 2/2] add missing exit to request_method conditional test

elij elij.mx at gmail.com
Sat May 28 17:19:12 EDT 2011


---
 web/html/rpc.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/web/html/rpc.php b/web/html/rpc.php
index 27439db..b2c244b 100644
--- a/web/html/rpc.php
+++ b/web/html/rpc.php
@@ -4,6 +4,7 @@ include_once("aurjson.class.php");
 
 if ( $_SERVER['REQUEST_METHOD'] != 'GET' ) {
 	header('HTTP/1.1 405 Method Not Allowed');
+	exit();
 }
 
 if ( isset($_GET['type']) ) {
-- 
1.7.2.5



More information about the aur-dev mailing list