Skip to content
Commit b4594b3d authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jo@mein.io>
parent 18b637fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment