Decode URI in input handler