From 1ee0d9ce5e3b6bc4e4664477b142018916b45dd7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 5 Nov 2012 15:58:54 +0100 Subject: [PATCH] Fix for an Issue #229 --- lib/core/target.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/core/target.py b/lib/core/target.py index b203be657..979f16bd2 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -11,6 +11,7 @@ import os import re import tempfile import time +import urlparse from lib.core.common import Backend from lib.core.common import hashDBRetrieve @@ -162,6 +163,15 @@ def __setRequestParams(): kb.processUserMarks = not test or test[0] not in ("n", "N") if not kb.processUserMarks: + if place == PLACE.URI: + query = urlparse.urlsplit(value)[3] + if query: + parameters = conf.parameters[PLACE.GET] = query + paramDict = paramToDict(PLACE.GET, parameters) + + if paramDict: + conf.paramDict[PLACE.GET] = paramDict + testableParameters = True continue conf.parameters[place] = value