mIRC Home    About    Download    Register    News    Help

Print Thread
#271558 14/04/23 03:27 AM
Joined: Aug 2016
Posts: 57
R
Babel fish
OP Offline
Babel fish
R
Joined: Aug 2016
Posts: 57
$urlget sends &body up to the first null character instead of the length of &body

Example:
Code
bset &body -1 109 73 82 67 0 32 105 115 32 116 104 101 32 98 101 115 116 32 195 169 32 102 111 100 97
bset &header -1 $crlf
$urlget(http://localhost:57335/, pbi, &content, uploadCompleted, &header, &body)
$urlget only sends the first 4 bytes (109 73 82 67), this does not allow sending binary files via POST. It's a pseudo example, considering that it would have other headers...


rockcavera
#Scripts @ irc.VirtuaLife.com.br
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Thanks for your bug report. This has been fixed for the next version.

Last edited by Khaled; 14/04/23 12:03 PM.

Link Copied to Clipboard