Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default HTMLArea - bug in generated links?

    Hello there,

    I'm not sure whether this should be posted here or under report security problem.

    I'm using the latest ZC version and I've created EZ pages that include html bookmark tags. Note that these bookmarks only link parts of text within the same page, not from one page to another.

    This is an example:
    <a title="What is your privacy policy?" href="http://www.mysite.com/index.php?main_page=page&id=66666#~_What_is_your_privacy_policy">~ What is your privacy policy?</a>

    There is not any issue whatsoever when I enter the text, or modify it in the admin in “Plain text.” However, when I enter, or modify, it in "htmlArea," and hit update, the system adds my admin folder to the bookmark link. Using the example above, it would become:

    <a title="What is your privacy policy?" href="http://www.mysite.com/MYADMIN/index.php?main_page=page&id=66666#~_What_is_your_privacy_policy">~ What is your privacy policy?</a>

    So when I click any of the bookmarks on the site, that brings the admin login page up. I had a few heartattacks with this issue recently but have fixed this by just entereing it all in "Plaintext," and thought to report it.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: HTMLArea - bug?

    Yes, HTMLAREA will do that for links and for images.
    HTMLarea has many limitations including those you mention.
    That's why it's being removed in the next version. CKEditor is the preferred editor of choice. You can install the addon for it from the Free Addons area.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: HTMLArea - bug?

    Thanks DrByte for your reply and recommendation. I'll try CKEditor out!

 

 

Similar Threads

  1. [Not a ZC bug] Cannot past in HTMLarea
    By Ivanna in forum Bug Reports
    Replies: 2
    Last Post: 18 Jul 2011, 05:41 PM
  2. Download links not always generated
    By femsawyer in forum Managing Customers and Orders
    Replies: 36
    Last Post: 14 Oct 2010, 06:00 PM
  3. Bug with HTMLarea and Safari 4
    By mattlowe01 in forum Bug Reports
    Replies: 1
    Last Post: 28 Mar 2009, 02:26 PM
  4. [Not a Bug] EZ-Page Links IE bug when first clicking
    By NamSingh in forum Bug Reports
    Replies: 11
    Last Post: 25 Dec 2006, 03:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg