add uri-decoding middleware