# HG changeset patch # User Kim Alvefur # Date 1677876305 -3600 # Node ID 25041e15994e467808e975f87adea75013f61598 # Parent 2bb29ece216b9ab4ca70d825ce43f795e0f6ea30 mod_http_oauth2: Comment on mutation by other module diff -r 2bb29ece216b -r 25041e15994e mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Fri Mar 03 21:14:19 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Fri Mar 03 21:45:05 2023 +0100 @@ -141,6 +141,7 @@ local redirect_uri = get_redirect_uri(client, params.redirect_uri); if redirect_uri == "urn:ietf:wg:oauth:2.0:oob" then -- TODO some nicer template page + -- mod_http_errors will set content-type to text/plain if it catches this event local response = { status_code = 200; headers = { content_type = "text/plain" } } response.body = module:context("*"):fire_event("http-message", { response = response;