--- a/mod_http_oauth2/mod_http_oauth2.lua Tue Mar 07 10:26:57 2023 +0000
+++ b/mod_http_oauth2/mod_http_oauth2.lua Tue Mar 07 10:27:40 2023 +0000
@@ -390,7 +390,7 @@
local function error_response(request, err)
local q = request.url.query and http.formdecode(request.url.query);
local redirect_uri = q and q.redirect_uri;
- if not redirect_uri or not is_safe_redirect(redirect_uri) then
+ if not redirect_uri or not is_secure_redirect(redirect_uri) then
module:log("warn", "Missing or invalid redirect_uri <%s>, rendering error to user-agent", redirect_uri or "");
return render_page(templates.error, { error = err });
end