Fix a double decode bug when parameters are passed as a get request