projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee46efb
)
support ? as separator instead of / even if not protocol was given
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 11 Apr 2003 16:08:41 +0000
(16:08 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 11 Apr 2003 16:08:41 +0000
(16:08 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
5cb8fe4
..
1daa658
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-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.