Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-488

encode href attributes for NetUI tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V1Beta
    • v1m1
    • NetUI
    • None

    Description

      This comes from the discussion on the dev alias about
      properly encode the href attribute in some of the NetUI
      tags, such as anchor, rewriteURL, image, etc.

      Currently we do not perform any encoding on the string
      defined for the href attribute of these NetUI tags. A developer
      provides the href with the properly escaped characters
      as needed. However, we do encode the names and values
      of the NetUI parameter tag (with URLCodec) for multibyte
      and other URI characters that need to be escaped.

      To make this more consistent, I've got a patch to change the
      default behavior to encode the href attributes of the NetUI tags,
      such as anchor, rewriteURL, image, etc.

      The patch will also modify the rewriteURL tag so that it
      correctly supports the use of the parameter tag to allow
      finer control of the encoding of parameters in the
      query of the URL. For example, using multibyte or other
      characters that need to be escaped for proper URL syntax.

      Attachments

        1. urlescaping.txt
          83 kB
          Howard Carlin Rogers

        Activity

          People

            kbaker Krista Baker
            crogers Howard Carlin Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: