Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1027

Newline in attribute values shows as $ in user consent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Attribute Consent
    • Labels:
      None
    • Operating System:
      Multiple

      Description

      The attribute consent screen shows newlines in attribute values as $. E.g.:

      Business postal address SWITCH$Werdstrasse 2$CH-8004 Z├╝rich$Switzerland

      I suspect that most deployers would prefer the newlines to be replaced by <br />. Therefore, I recommend adapting the file views/intercept/attribute-release.vm such that the attribute value is output with something like:

      <strong>$encoder.encodeForHTML($value.getDisplayValue()).replace("$", "<br />")</strong>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tzeller@shibboleth.net Tom Zeller
              Reporter:
              wkiyxkscr4bax/2pq5dvxwse0ei=@https://aai-logon.switch.ch/idp/shibboleth Lukas Haemmerle
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: