Add 'URL' to the list of parameters that are not sanitized. URL is used for datasources such as biomart (and hbvar soon).

This commit is contained in:
Daniel Blankenberg
2006-12-15 19:10:00 +00:00
parent 856b7cb5f2
commit c198156ee3
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ def exec_after_process(app, inp_data, out_data, param_dict, tool=None, stdout=No
MAX_SIZE = CHUNK_SIZE * 100
try:
# damn you stupid sanitizer!
URL = URL.replace('martX', 'mart&')
URL = URL.replace('0X_', '0&_')
# damn you stupid sanitizer! - URL is now in the NEVER_SANITIZE list in util.py
#URL = URL.replace('martX', 'mart&')
#URL = URL.replace('0X_', '0&_')
page = urllib.urlopen(URL)
except Exception, exc:
raise Exception('Problems connecting to %s (%s)' % (URL, exc) )