mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net.http: more robust handling of relative /path URL redirects
This commit is contained in:
@@ -50,6 +50,7 @@ fn (dtp DTP) read() []byte {
|
||||
for i := 0; i < len; i++ {
|
||||
data << buf[i]
|
||||
}
|
||||
unsafe { free(buf) }
|
||||
}
|
||||
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user