From 5f932e0424ce3ab9b0a8b1073b4054c2ceaf28c1 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 28 Jun 2024 14:56:42 +0800 Subject: [PATCH] =?UTF-8?q?perf(X-Pack):=20CAS=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/dataease/apisix/plugins/cas-auth.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/dataease/apisix/plugins/cas-auth.lua b/installer/dataease/apisix/plugins/cas-auth.lua index 9f73a33890..c11069552e 100644 --- a/installer/dataease/apisix/plugins/cas-auth.lua +++ b/installer/dataease/apisix/plugins/cas-auth.lua @@ -1,4 +1,4 @@ --- +-- ---- Licensed to the Apache Software Foundation (ASF) under one or more ---- contributor license agreements. See the NOTICE file distributed with ---- this work for additional information regarding copyright ownership. @@ -118,7 +118,7 @@ local function validate(conf, ctx, ticket) local httpc = http.new() local res, err = httpc:request_uri(conf.idp_uri .. "/serviceValidate", - { query = { ticket = ticket, service = uri_without_ticket(conf, ctx) }, ssl_verify = false }) + { query = { ticket = ticket, service = uri_without_ticket(conf, ctx) } ,ssl_verify = false}) if res and res.status == ngx.HTTP_OK and res.body ~= nil then if core.string.find(res.body, "") then