Author Topic: HTML entities in order item name  (Read 1418 times)

sandomatyas

  • Jr. Member
  • **
  • Posts: 293
HTML entities in order item name
« on: January 13, 2019, 07:13:37 am »
I recently updated a VM 3.2.14 to 3.4.3.9992. Everything works well but in #__virtuemart_order_items.order_item_name I get html entities instead UTF-8 characters.
Like the string is 'testáéó' and the stored version is 'testáéó'
Is there a way to get back the standard characters?

sandomatyas

  • Jr. Member
  • **
  • Posts: 293
Re: HTML entities in order item name
« Reply #1 on: January 14, 2019, 11:02:01 am »
Hi

It's also in VirtueMartModelProduct
$child->product_name = vRequest::vmHtmlEntities( $child->product_name);
I wonder why VM needs this?

sandomatyas

  • Jr. Member
  • **
  • Posts: 293
Re: HTML entities in order item name
« Reply #2 on: February 01, 2019, 14:48:42 pm »
Any ideas with this? I removed this line from 3 of my sites because some extensions couldn't handle it well.

sandomatyas

  • Jr. Member
  • **
  • Posts: 293
Re: HTML entities in order item name
« Reply #3 on: March 20, 2019, 18:02:42 pm »
Any thoughts?
 shopFunctionsF::limitStringByWord also broken when this is active

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10018
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: HTML entities in order item name
« Reply #4 on: March 28, 2019, 12:52:08 pm »
yepp, I am on it to remove it, but I need a tester. Please contact me in skype.

The problem behind is that Admins can store raw, always, it is not filtered. The idea is now that we use the joomla filtering only.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/