Added url decoding for url dispatching function.