Uploaded image for project: 'Shibboleth IdP 1 - Java'
  1. Shibboleth IdP 1 - Java
  2. SIDPO-31

Paths to content in JSP scripts should be "rooted".

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Java Version:
      Oracle Java 1.6
    • Servlet Container:
      Apache Tomcat 5.5

      Description

      While experimenting with "multi-level" profile handlers (to match the 2.0 IdP), I found that the various scripts and error pages break when they refer to content (CSS, images, etc.) that lives in the warfile. They all assume the content is at the same "level" as the profile handler.

      For example, a profile handler at /idp/profile/Shibboleth/SSO results in an error page that contains a link to "images/logo.jpg", which the browser fetches as /idp/profile/Shibboleth/images/logo.jpg".

      To fix, I think all such links need to be prefixed with "<%= base %>", where base is set to request.getServletContext().

        Attachments

          Activity

            People

            Assignee:
            lajoie@georgetown.edu Chad La Joie (Inactive)
            Reporter:
            cantor.2@osu.edu Scott Cantor
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: