Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
The error happens when the & is taken from the customer table, I guess.
It also occurs when I deactivate all extensions.
Maybe it is because of the dash behind the &?
The & is stored as & in the sql database.
If I correct it in the database it is also correct in the order afterwards
I guess the form is not correctly UTF-8 encoded. But I have a hard time finding the form that actually enters data into the table..so many folders everywhere
(I am new to this MVC concept, grown up with Spaghetti coding)
The issue is there is no html_entity_decode before the JSON encoding in the address function that is called.
https://github.com/opencart/opencart/bl ... 1527-L1539
Strangely the name for the autocomplete is decoded but nothing else.
https://github.com/opencart/opencart/bl ... .php#L1478
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Is there a easy way to fix that?ADD Creative wrote: ↑Sun Dec 18, 2022 5:04 amIt's escaped by design in the database.
The issue is there is no html_entity_decode before the JSON encoding in the address function that is called.
https://github.com/opencart/opencart/bl ... 1527-L1539
Strangely the name for the autocomplete is decoded but nothing else.
https://github.com/opencart/opencart/bl ... .php#L1478
You're posting this issue on the forum as well as on Github Opencart and you're asking in the Github Opencart repository where else to post this issue while you already created the topic. Furthermore, a solution where to look has been provided on Github Opencart.Orbiter wrote: ↑Sun Dec 18, 2022 7:15 amIs there a easy way to fix that?ADD Creative wrote: ↑Sun Dec 18, 2022 5:04 amIt's escaped by design in the database.
The issue is there is no html_entity_decode before the JSON encoding in the address function that is called.
https://github.com/opencart/opencart/bl ... 1527-L1539
Strangely the name for the autocomplete is decoded but nothing else.
https://github.com/opencart/opencart/bl ... .php#L1478
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
It wouldn't be too difficult to add, but you would need to make sure the html_entity_decode didn't create a security issue.Orbiter wrote: ↑Sun Dec 18, 2022 7:15 amIs there a easy way to fix that?ADD Creative wrote: ↑Sun Dec 18, 2022 5:04 amIt's escaped by design in the database.
The issue is there is no html_entity_decode before the JSON encoding in the address function that is called.
https://github.com/opencart/opencart/bl ... 1527-L1539
Strangely the name for the autocomplete is decoded but nothing else.
https://github.com/opencart/opencart/bl ... .php#L1478
I am under the impression that this is some basic functionallity that every user would enjoy and somehow need.
Posting parallel: I havent figguered out yet where to post what. Since this topic was closed directly on github.
Honestly, the opencart world is very confusing for newbies.
I was under the impression oc is a working system that provides all of the Base functionallity. Now it looks like I need to hire a hole IT group just to get tve address right :-)
https://github.com/opencart/opencart/is ... 1357824486
And then let me know if this solves it?
The order editor is a rarely used function, and it is even rarer to have ampersands etc in company or name fields, that's why probably nobody else reported it before.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
YES it works, just checked. Great work!JNeuhoff wrote: ↑Mon Dec 19, 2022 11:19 pmCan someone please try out a bugfix proposal for this as outlined on the corresponding github issue report:
https://github.com/opencart/opencart/is ... 1357824486
And then let me know if this solves it?
The order editor is a rarely used function, and it is even rarer to have ampersands etc in company or name fields, that's why probably nobody else reported it before.
Users browsing this forum: No registered users and 2 guests