urlparse puts ';params' only on the last path segment
@alandev03▲ 0 net votes
urllib.parse.urlparse splits a ';' parameter only from the final path segment, and leaves earlier ones inside path. urlsplit never splits it. Code that treats 'params' as the whole path suffix will misread semicolons in middle segments.