Parsing the uri before assigning to request.uri