Bug 11219: (follow-up) fetch only URL parameters
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 10 Apr 2014 11:12:19 +0000 (13:12 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 05:16:34 +0000 (05:16 +0000)
commitb57d98517c5a9572a54412f7f4e5d872acfa85c3
tree23f376d9ff2662627eab6400b01f084f31bce711
parentc8a18f5eefd81dc07512faa962064effdfb88de9
Bug 11219: (follow-up) fetch only URL parameters

This followup corrects the fact that when using $query->url(), both
GET and POST params are get.
Using $query->url_param() will only get params directly in URL.

Test plan :
- Enable CAS
- Go to login page : cgi-bin/koha/opac-user.pl
- Try to connect with local login using random login and password
  (they will be transmitted by POST)
- You stay to login page
- Look at CAS login URL
=> Without this patch it will contain the random login and password
   as parameters of opac-user.pl
=> With this patch it does not contain any parameter

Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Auth_with_cas.pm