Closed ovionlogis closed 4 years ago
Amazing. Those are some quality tests I've written here. 🙄
@mikeboers I do not understand what you mean, can you explain?
Same problem here... Did you find any workaround @ovionlogis ?
We tried to use replace("'", '%27')
, but errors keep coming.
Example:
<img src="{{ url_for('images', format=session.get('image_format'), filename='image.png', width=550, quality=75).replace("'", '%27') }}"
@jllopezpino fork and decode utf-8
https://github.com/mikeboers/Flask-Images/compare/master...ovionlogis:master
I just pulled @ovionlogis changes. Thanks!
Faced the problem that the link to the image contains quotes:
The whole problem in the
s
parameter, looks like the bytes are converted incorrectly into a string.Python 3.7 Flask-Images 3.0.1 Linux Mint 19