I just ran into the same problem with a colon in a URL. I paginated, and the page number in the URL was given after the colon.
The solution for my situation was to replace the colon with another character for developing the environment (my Windows computer) and leave the colon for production (a Linux computer).
, - .