diff --git a/ckan/controllers/storage.py b/ckan/controllers/storage.py index 4b63966016d..10c44cffda9 100644 --- a/ckan/controllers/storage.py +++ b/ckan/controllers/storage.py @@ -18,19 +18,6 @@ _eq_re = re.compile(r"^(.*)(=[0-9]*)$") -def fix_stupid_pylons_encoding(data): - """ - Fix an apparent encoding problem when calling request.body - TODO: Investigate whether this is fixed in later versions? - """ - if data.startswith("%") or data.startswith("+"): - data = urllib.unquote_plus(data) - m = _eq_re.match(data) - if m: - data = m.groups()[0] - return data - - def create_pairtree_marker(folder): """ Creates the pairtree marker for tests if it doesn't exist """ if not folder[:-1] == '/':