Koha/koha-tmpl/intranet-tmpl
Martin Renvoize 1e47e5a849
Bug 23075: (follow-up) Dissallow transparent redirects
GET request redirects were causing the http URL to 'pass' our 'good url'
test for http => https redirected mana servers. However, on the
subsquent POST request to get a mana security token we would fail as the
POST was not transparently redirected.

This patch changes the request to be a simple_request so we will catch
bad urls earlier and it also prevents submissions for security tokens if
the configured URL is identified as bad.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-11-06 17:05:10 +00:00
..
js Bug 18421: (follow-up) Center image in results table 2019-10-07 14:09:12 +01:00
lib Bug 22661: TinyMCE/WYSIWYG editor doesn't translate 2019-11-03 07:39:54 +00:00
prog Bug 23075: (follow-up) Dissallow transparent redirects 2019-11-06 17:05:10 +00:00