Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1123

Atom Taglib: ids have wrong escaping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Scripting
    • None

    Description

      The atom taglib (contrib/scripting/jsp-taglib-atom) seems to do some wrong escaping for <id>s. When setting the id attribute of atom:entry with a normal path like /my/path, the output will be fully escaped in URL encoding: %2F%63%6F%6E%74%65%6E%74%2F%67%65%6F%6D

      Looking at the code, in o.a.s.atom.taglib.EntryTagHandler.doEndTag(), it says:

      if (id != null) entry.setId(UrlEncoding.encode(id));

      which is probably wrong.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexander.klimetschek Alexander Klimetschek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: