Quotation mark in category name

  • Posts: 272
  • Thank you received: 3
  • Hikashop Business
13 years 5 months ago #21024

When there is quotation mark in the menu name (we are testing with lost of products name with the inch's symbol "), when you edit the menu the name is cut off at the point of the quotation mark.

Business 1.5.2 Joomla 1.5.21

how to recreate:
1) we create a menu using the joomla menu manager. We give a name (e.g. 1/4" S/D Socket Sets) and associate parent item. Click on 'apply'
2) click 'HikaShop Options' and now the name has been cut to '1/4'. If we click on 'apply' and return to the joomla menu manger the name is now just '1/4'
It is also the same for menu names we have already created

We have also tried created a menu item directly in the hikaship admin and the same thing happens when saved.

I am sure that this was not a problem for versions prior to 1.5.2 because we have already created and edited menu items with names with the inch's symbol without any problems

Please Log in or Create an account to join the conversation.

  • Posts: 83019
  • Thank you received: 13401
  • MODERATOR
13 years 5 months ago #21035

The problem was always there. Thanks for reporting it.

You need to edit the file form of the view menus via the menu Display->Views and change the code:
echo @$this->element->name;
by:
echo $this->escape(@$this->element->name);

We'll fix that in next release.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum