Properly URI encoded the docUrl value.