Updated the urlSprintf() patterns

All the pattern options needed to be single characters to avoid problems when passing the parts through as literal strings;
urlSprintg("%porder.%d.%t") would use %po instead of %p and 'order'
- %po changed to %r
- %pa changed to %i