CRATEIT-236 Encode URI Component so that special characters won't cause error.