We can allow periods as long as there are not multiple.

This commit adds the ability to run with periods in the URLs. It first replaces all instances of multiple periods with one period - after that, we are secure.