ColdFusion 302 ISAPI 干扰其他模块

发布于 2024-10-07 08:48:28 字数 447 浏览 0 评论 0原文

我有一个旧版 ColdFusion 应用程序,我的任务是使用其策略代理与 OpenSSO 集成。策略代理是一个本机 HTTP 模块,本质上充当过滤器(不在我的身份验证缓存中?使用指定的 returnUrl 重定向到此 URL,否则,如果我要处理返回的身份验证信息并让用户通过) 。

问题在于主index.cfm 页面执行302 重定向到应用程序主页(app/index.cfm)。当策略代理生成 it 302 重定向时,它的返回 URL 为 http://sameplace/index.cfm,app/index.cfm,而不仅仅是 http://sameplace

看起来 ColdFusion 的 * ISAPI 处理程序以某种方式被调用,并且策略代理模块被已经存在的响应标头弄糊涂了,并用逗号将其附加到它自己的返回 URL 上。

有人有这方面的经验吗?

I've got a legacy ColdFusion app that I tasked with integrating with OpenSSO using their Policy Agent. The Policy Agent is a native HTTP module that essentially acts as a filter (Not in my authentication cache? Redirect to this URL with a returnUrl specified, else, if I'm being POSTed to process the returning authentication info and let the user through).

The problem is that the main index.cfm page does a 302 redirect to the app main page (app/index.cfm). When the Policy Agent generates it's 302 redirect, it has a return url of http://sameplace/index.cfm,app/index.cfm, instead of just http://sameplace.

It would seem that ColdFusion's * ISAPI handler is somehow getting called, and the Policy Agent MODULE is getting confused by the already existing response headers, and tacks it on with a comma to it's own return url.

Anyone have any experience with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文