Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Primo login problems caused by PDS URLs incorrectly escaped using HTML encoding

    • Article Type: Known Issue
    • Product: Primo
    • Product Version: July 2015
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local; Total Care

    Symptoms

    One or more of the symptoms below may be seen.
    * Using a Deep Link and clicking Login results in a page with no CSS styling
    * Authenticating after searching does not retain search terms
    * Login does not preserve search queries
    * EZ Proxy gives an error
    * EZ Proxy displays the list of all proxy resources
    * URL does not contain any program after login (see example 1 in Additional Information)
    * URL contains & (see example 2 in Additional Information)
    * Sign in from a GetIt or ViewIt tab results in an error page showing 0 (zero)

    Defect Status

    Development

    Workaround

    If any part of the following workaround is not understood please open a case with Support.

    1. Login to each PDS server
    2. Run the following commands:

    pds_root

    cd html_form/institute-<PDSInstitute> (e.g. cd html_form/institute-north)

    echo | cp -i ../global/{ignore-external,logout-exe,logout-exe-full-domain,ping-remote-login,redirect-remote-login,redirect-remote-shib,sso-remote-1} .

    1. Update all files in the current directory
      • Search for $0400
      • If the $0400 is used in JavaScript (i.e. it is not enclosed in a line with < or >)
        • Replace $0400 with $0410

    Examples

    Example 1 - no program after login

    http://<server>:<port>/primo_library/libweb/action/&=&search_scope=everything&displayField=title&targetURL=http://<server>:<port>/primo_library/libweb/action/dlSearch.do?institution=NORTH&vid=NORTH&afterPDS=true&query=any,contains,pathogens&isIframeSSO=true&dscnt=1&highlight=true&onCampus=true?

    Example 2 - &amp; in URL

    http:/<server>:<port>/primo_library/libweb/action/logout.do?institute=NORTH&amp;targetURL=http%3A%2F%2F<server>%3A<port>%2Fprimo_library%2Flibweb%2Faction%2Fsearch.do%3Fvid%3DNORTH

    Category: PDS


    • Article last edited: 9/25/2015
    //Feedback