# HG changeset patch # User Kim Alvefur # Date 1678571927 -3600 # Node ID fa7bd721a3f66759b43c31d580184e16261f148e # Parent d5dc8edb26959d3d0e8fdda2d36315f24bbf301f mod_http_oauth2: Fix validation of informative URIs Iterating over wrong table diff -r d5dc8edb2695 -r fa7bd721a3f6 mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Sat Mar 11 22:46:27 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Sat Mar 11 22:58:47 2023 +0100 @@ -612,7 +612,7 @@ end end - for field, prop_schema in pairs(registration_schema) do + for field, prop_schema in pairs(registration_schema.properties) do if prop_schema.format == "uri" and client_metadata[field] then local components = url.parse(client_metadata[field]); if components.scheme ~= "https" then