[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
Mon Nov 4 14:16:39 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23075

--- Comment #34 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 95003
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95003&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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list