From 87e923613f9ca7607ac143910e93a62c57ff0dba Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 5 Jan 2013 21:16:47 +0100 Subject: [PATCH] Minor adjustment (URI (marked with custom injection char) has precedence over GET/POST) --- lib/controller/controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 768cfff2a..41b389491 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -368,10 +368,10 @@ def start(): # Do a little prioritization reorder of a testable parameter list parameters = conf.parameters.keys() - # Order of testing list (last to first) - orderList = (PLACE.URI, PLACE.GET, PLACE.POST, PLACE.CUSTOM_POST) + # Order of testing list (first to last) + orderList = (PLACE.CUSTOM_POST, PLACE.URI, PLACE.POST, PLACE.GET) - for place in orderList: + for place in orderList[::-1]: if place in parameters: parameters.remove(place) parameters.insert(0, place)