# HG changeset patch # User Matthew Wild # Date 1678184860 0 # Node ID 6a27effb3ef08f6fe31f9643a83fc129b076f3cb # Parent 1d9dbe84b6e863101b128d5910360dc589ee91d0 mod_http_oauth2: Fix incorrect function name (thanks Zash/luacheck) diff -r 1d9dbe84b6e8 -r 6a27effb3ef0 mod_http_oauth2/mod_http_oauth2.lua --- 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