Fixed missing encoding of url-parameters

Additional url-parameters were not encoded properly. This caused
problems with special characters like "+".