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

idp-metadata.xml is invalid because of WEB-INF/jsp/metadata.jsp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: Metadata
    • Labels:
      None

      Description

      The JSP (WEB-INF/jsp/metadata.jsp) serving up metadata/idp-metadata/xml invalidates the XML by putting 2 newlines at the beginning of the output. One fix (I'm not sure if there's a better one) is to put code open/close brackets in to make sure the newlines don't get output, ie.:

      <%@ page import="org.springframework.web.context.WebApplicationContext" %><%
      %><%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %><%
      %><%
      final WebApplicationContext springContext =

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            jez9999@idp.protectnetwork.org jez9999@idp.protectnetwork.org
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m