Minor patch on request of an user

This commit is contained in:
Miroslav Stampar
2015-01-17 21:47:57 +01:00
parent c2b2ccd2b5
commit e73ac6c8e3
2 changed files with 8 additions and 4 deletions

View File

@@ -3360,6 +3360,8 @@ def randomizeParameterValue(value):
retVal = value
value = re.sub(r"%[0-9a-fA-F]{2}", "", value)
for match in re.finditer('[A-Z]+', value):
retVal = retVal.replace(match.group(), randomStr(len(match.group())).upper())