It looks like the platform-neutral TIdURI from Indy solves some corner cases that WinInet.InternetCrackUrl
doesn’t.
Someday I’ll check it against the .NET Uri class and report back about this.
An addition, you might want to extend it as it lacks some features: Indy, TIdURI.PathEncode, URLEncode and ParamsEncode and more | Marc Durdin’s Blog [WayBack]
–jeroen
Source: delphi – How do I parse a web URL? – Stack Overflow
Filed under: Delphi, Development, Software Development
