<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    hello<br>
    <br>
    after going through the shibboleth login process, I loose the
    browsing context query string in the final target <br>
    exemple in a web biblio application, in the process of placing a
    hold on a book selected while not yet connected:<br>
    <a class="moz-txt-link-freetext"
      href="https://server.domain.fr/cgi-bin/koha/opac-detail.pl">https://server.domain.fr/cgi-bin/koha/opac-detail.pl</a>?<b>biblionumber=74745</b><br>
    click on "place hold" <br>
    <a class="moz-txt-link-freetext"
      href="https://server.domain.fr/cgi-bin/koha/">https://server.domain.fr/cgi-bin/koha/</a><b>opac-reserve.pl?biblionumber=74745</b>
    (opac-reserve.pl is shib protected)<b><br>
    </b>then a intermediary login page appears, with the possibility to
    login with local/internal account or :<b><br>
    </b>&lt;p&gt;If you have a shibboleth account, <br>
    please &lt;a href=<a class="moz-txt-link-rfc2396E"
href="https://mediatheques.mines-telecom.fr/Shibboleth.sso/Login?target=https://server.domain.fr/cgi-bin/koha/opac-reserve.pl">"https://mediatheques.mines-telecom.fr/Shibboleth.sso/Login?target=https://server.domain.fr/cgi-bin/koha/opac-reserve.pl"</a>&gt;click

    here to login&lt;/a&gt;.&lt;/p&gt;<b><br>
    </b>I realize that this hard coded link is where I lose the context
    of the queryString ?<b>biblionumber=74745<br>
    </b>how can I get that Shibboleth.sso/Login?target dynamically
    include the previous (referer ?) full querystring ?<br>
    <br>
    Thanks .<br>
  </body>
</html>