chore: use urlunparse
instead of string replace
#2221
Merged
urlunparse
instead of string replace
#2221