URL parsing problem - WeOnlyDo Discussion board

URL parsing problem (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Paul Draper, Friday, October 07, 2005, 13:46 (6781 days ago)

Hi,

I am having a problem with TwodWebServerCom parsing a URL incorrectly.

This problem occurs when the URL is passing a variable value that is itself a URL.

for example if you type this URL into a browser:
[code]
http://dev-007xp/Go_Here?SomePath=http://dev-007xp/Not_here
[/code]
I see the same URL in the debug log, however by the time it arrives at the OnRequestHeaders event it has changed into
[code]
http://dev-007xp/Not_here
[/code]
It appears that the code withing the Server that processes the URL and chops it up into its various parts is getting confused and taking the 2nd URL by mistake.

I have a C++ builder 6 project that shows the fault. But I imagine it will happen under any environment.

Thanks
Paul


Complete thread: