diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-04-11 16:08:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-04-11 16:08:41 +0000 |
commit | 5760f2a307c1992cfada5f81284d08558f811591 (patch) | |
tree | e4321657f6fe4144d6cc984b7931268ec6178b09 | |
parent | ee46efb5a5d7f9c27fd3d2e8f16f7da28d59eb2e (diff) |
support ? as separator instead of / even if not protocol was given
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1935,7 +1935,7 @@ static CURLcode CreateConnection(struct SessionHandle *data, * The URL was badly formatted, let's try the browser-style _without_ * protocol specified like 'http://'. */ - if((1 > sscanf(data->change.url, "%512[^\n/]%[^\n]", + if((1 > sscanf(data->change.url, "%512[^\n/?]%[^\n]", conn->gname, conn->path)) ) { /* * We couldn't even get this format. |