ColdFusion 302 ISAPI 干扰其他模块
我有一个旧版 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论