Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4c010 commit 9ce2395Copy full SHA for 9ce2395
1 file changed
lib/core/target.py
@@ -506,16 +506,14 @@ def initTargetEnv():
506
_setDBMS()
507
508
if conf.data:
509
- kb.postSpaceToPlus = '+' in conf.data
510
-
511
- if re.search(r'%[0-9a-f]{2}', conf.data, re.I):
512
- class _(unicode):
513
- pass
514
- original = conf.data
515
- conf.data = _(urldecode(conf.data))
516
- setattr(conf.data, UNENCODED_ORIGINAL_VALUE, original)
517
- else:
518
- conf.data = urldecode(conf.data)
+ class _(unicode):
+ pass
+
+ original = conf.data
+ conf.data = _(urldecode(conf.data))
+ setattr(conf.data, UNENCODED_ORIGINAL_VALUE, original)
+ kb.postSpaceToPlus = '+' in original
519
520
def setupTargetEnv():
521
_createTargetDirs()
0 commit comments