revised url encoding rules