luci-base: http.uc: fix eof detection in temporary upload files
Binary string comparisons in ucode are currently unsafe, so use the
`length()` function to determine the just read data chunk size in
order to test for end of file.
Fixes: #6530
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
parent
18b637fe
Please register or sign in to comment