Fixing bug in REQUEST_URI modification