Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

No escaping when <f:Selectitems> is used with a Map  #4411

Description

@Raqueta

If its values attributed is backed by a Map, <f:selectItems> ignores all other attributes, including itemLabelEscaped. Even worse, in this case the itemLabelEscaped attribute does not default to true, as specified here, but to false. Therefore the whole items list gets rendered without any escaping.
The culprit seems to be SelectItemsIterator, which fails to evaluate all attributes for Maps. It does so for SelectItem objects, arrays or Collections, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions