Uploaded image for project: 'OpenSAML - C++'
  1. OpenSAML - C++
  2. CPPOST-56

JSON DiscoFeed incorrectly reporting width for logos

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4rc1
    • Fix Version/s: 2.4
    • Component/s: Metadata
    • Labels:
      None
    • Environment:

      CentOS 5.5 x86_64.

    • Operating System:
      Linux
    • CPU Type:
      x86_64
    • C/C++ Compiler:
      GCC 4.x

      Description

      I'm using the x86_64 2.4 RC1 SP installed from http://download.opensuse.org/repositories/home:/Scott_Cantor/CentOS_5/. The versions of the SP and opensaml installed are shibboleth-2.4-2.1 and libsaml7-2.4-7.1

      So, I'm loading the UK federation test metadata which contains the mdui extensions. For one of my IdPs I have the following configured in there:

      ====
      <mdui:Logo height="16" width="16">https://iam.cf.ac.uk/images/CU-logo-16x16.png</mdui:Logo>
      <mdui:Logo height="63" width="64">https://iam.cf.ac.uk/images/CU-logo-64x63.png</mdui:Logo>
      <mdui:Logo height="126" width="128">https://iam.cf.ac.uk/images/CU-logo-128x126.png</mdui:Logo>
      <mdui:Logo height="60" width="80">https://iam.cf.ac.uk/images/CU-logo-80x60.png</mdui:Logo>
      ====

      However, the DiscoFeed generated by the SP for that entity looks like this - note the width dimensions:

      "Logos": [

      { "value": "https://iam.cf.ac.uk/images/CU-logo-16x16.png", "height": "16", "width": "1616" }

      ,

      { "value": "https://iam.cf.ac.uk/images/CU-logo-64x63.png", "height": "63", "width": "6364" }

      ,

      { "value": "https://iam.cf.ac.uk/images/CU-logo-128x126.png", "height": "126", "width": "126128" }

      ,

      { "value": "https://iam.cf.ac.uk/images/CU-logo-80x60.png", "height": "60", "width": "6080" }

      ]

      I'm seeing this behavior for every entity which has logos present - the width is being reported as "height . width".

      N.B. The metadata I'm using is at http://metadata.ukfederation.org.uk/ukfederation-test.xml and the DiscoFeed can be seen at https://shib-sp-dev.cf.ac.uk/Shibboleth.sso/DiscoFeed

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            rhyssmith Rhys Smith
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: