I need a user to be able to enter the URL, and would like to ensure that it is as probable as possible. There are things like checking that there is http: // on the front, there is no double-dot, maybe legitimate TLD, the last of the slash (I want to add the final page).
I think this is a common requirement that is already present in the suggestion?
[edit:] To be clear, this is a run-time requirement in the Windows service. Its purpose is to get the best from the URL typed by the user, instead of validating how the user has typed it. In short, if I can adjust the URL and I can work it, then I want to do this. The download will be a specific file, so if all this goes wrong then wrongly will not find the wrong thing from any other server.
Have you taken a look at ""? This Delphi is not specific, but you can start.
Comments
Post a Comment