New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image resize tool returns image path with spaces, witch utf-8 characters. #616
Comments
don;t use spaces! |
This is completely un-contructive answer! :( This is not so hard to implement - into model/tool/image, add line (v.1.5.5.1) 49:
And this already helps a lot! Can I commit this? |
I'm not sure why you wouldn't just rawurlencode() it instead. |
You cannot use it at the end, because it has "/" characters in full path.
|
Opencart CE edition accepted this as issue and made a fix: |
catalog/model/image.php "return $this->config->get('config_url') . 'image/' . $new_image;" and "return $this->config->get('config_ssl') . 'image/' . $new_image;" lines, returns image path, not formatted for HTML. If image path contains space, it will not be formatted.
The same - with UTF-8 characters in path.
Page then is not HTML validated.
The text was updated successfully, but these errors were encountered: