Skip to content
Snippets Groups Projects
Commit dc6da007 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Ingo Wilken's patch to support multiple spaces after "Location:"

parent 7be8993f
No related branches found
No related tags found
No related merge requests found
......@@ -517,8 +517,14 @@ Transfer(struct connectdata *c_conn)
char *start=p;
char backup;
start += 10; /* pass "Location: " */
start += 9; /* pass "Location:" */
/* Skip spaces and tabs. We do this to support multiple
white spaces after the "Location:" keyword. */
while(*start && isspace((int)*start ))
start++;
ptr = start; /* start scanning here */
/* scan through the string to find the end */
while(*ptr && !isspace((int)*ptr))
ptr++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment