[Koha-bugs] [Bug 23075] Incorrect URL should have a meaningful error message
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 20:51:54 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23075
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #95003|0 |1
is obsolete| |
--- Comment #38 from David Nind <david at davidnind.com> ---
Created attachment 95075
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95075&action=edit
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 at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list