fixed a bug with disallowed symbols in URLs