回调网址中有单词'GRANT'时如何解决,这在Coldfusion中违反安全性

问题描述

在Coldfusion 11中,当Azure AD SSO的回调URL低于下面时,我遇到了意外问题

http://xxx123.net?displayName=**Grant**%2C%20Good&givenName=Good&id=xxxxxxxxxx&jobTitle=Stackoverflow&mail=Good.**Grant**%40xxx.com&&surname=**Grant* *

然后显示错误

GRANT: Security violation,broken link,sql reserved word or APP problem - We have detected a problem in APP,which can either be the use of illegal content in the URL,a APP application problem,missing data,a broken link or the use of an sql reserved word (e.g. SELECT,DELETE,OUTER). Application execution has been halted. If you can reproduce this problem,please inform the system administrators. We will look into the problem as soon as possible. Thank you.

根本原因:“授予” 是违反URL的安全性。

我尝试使用rant代替Grant作为下面的链接,并且有效。

http://xxx123.net?displayName=**rant**%2C%20Good&givenName=Good&id=xxxxxxxxxx&jobTitle=Stackoverflow&mail=Good.**rant**%40xxx.com&&surname=**rant* *

虽然,我尝试使用Grant1或GrantX或1Grant。也不行。

那么,如何解决此问题以避免上面的问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)