获取400请求格式错误 [英] Getting 400-Request badly formed error

查看:113
本文介绍了获取400请求格式错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们在Azure环境上具有SharePoint服务器场.我们已将Azure App网关配置为平衡传入请求.访问带有字符&"的页面时,我们收到HTTP 400-错误请求错误.此行为仅在IE中.当从 Chrome,它工作正常.同样,当我们使用主机条目指向单个WFE而不是应用程序网关IP并访问该页面时,它在IE中也可以正常工作.仅当我们在IE中访问带有应用程序网关URL的页面时,才会发生此问题.

We have SharePoint farm on Azure environment. We have Azure App gateway configured to balance the incoming requests. When accessing a page with character '&', we are getting HTTP 400 - Bad Request error. This behavior is only in IE. When accessed from Chrome, it is working fine. Also when we point to individual WFEs instead of App gateway IP using Host entries and access the page, it is working fine in IE as well. The issue happens onlywhen we access the page with app gateway URL in IE. 

在IE中检查开发人员设置"时,似乎需要"US-ASCII".当由应用程序网关站点和"UTF-8"访问时,以字符集显示直接访问时指向WFE.

On checking the Developer Setting in IE, it seems to take "US-ASCII" in charset when accessed by App gateway site and "UTF-8" when accessed pointing directly to WFE.

请帮助解决此问题.

谢谢

M. Gubendra  Raj

M. Gubendra  Raj

推荐答案

您好,Gubendra,

Hi Gubendra,

请使用SharePoint Designer 2013打开网站并编辑母版页,然后设置charset = utf-8,例如:

Please open the site with SharePoint Designer 2013 and edit the master page, then set charset=utf-8, like:

如果上述方法无效,请打开ULS日志文件以查找有关此错误的更多信息.

If the above doesn't work, please open ULS log file to find more information about this error.

谢谢

温迪


这篇关于获取400请求格式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆