Use URI class to ensure that the path is correctly parsed because URLDecoder is not the correct tool for the job.