Addresses #5364 urllib quote role names