Open
Description
Describe the bug
"HTTP request" sometimes fails to load correct data and replaces some part of data with ef bf bd
(�).
To Reproduce
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:
- Use "HTTP request" with URL
https://placehold.jp/150x150.png
and default configuration. - It fails due to cross-origin request, so use CORS Everywhere (Firefox extension) to disable the limitation.
- Use "Render Image" after that, seeing it shows "Invalid file type"
- Use "To Hex" to see wrong data
ef bf bd
inserted.
Expected behaviour
"HTTP request" should successfully fetch data from external site without changing any part of that to ef bf bd
and "Render Image" should successfully show the image.
I feeded the image data to "Render Image" after fetching the data via this Python script:
import urllib.request
handle = urllib.request.urlopen("https://placehold.jp/150x150.png")
data = handle.read()
handle.close()
dump = ""
for c in data:
dump += "%02x" % c
print(dump)
to make sure that "Render Image" supports the image data. It successfully showed the image.
Desktop (if relevant, please complete the following information):
- Version: 9.28.0
- Compile time: 26/03/2021 14:12:01 UTC
- User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0 - Browser: Firefox 89.0.2 (x64)
- OS: Windows 10 Home 20H2