]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 1 Aug 2014 13:28:59 +0000 (15:28 +0200)
commitd49b517f26e93e2dcef0f20e7c6f45108ffeb426
treee32918363f90a32e89627f246df4bea46b5ed8bd
parentab86466196fcba6dcc3159af95e4af49091881cb
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>
(cherry picked from commit b57d98517c5a9572a54412f7f4e5d872acfa85c3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth_with_cas.pm