request exceeds the configured maxQueryStringLength when using [Authorize]

前端 未结 4 775
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 03:07

\"enter
I have a MVC3 site in C#, I have a particular view being fed query parameters from

4条回答
  •  余生分开走
    2020-11-28 03:48

    When an unauthorized request comes in, the entire request is URL encoded, and added as a query string to the request to the authorization form, so I can see where this may result in a problem given your situation.

    According to MSDN, the correct element to modify to reset maxQueryStringLength in web.config is the element inside the element, see httpRuntime Element (ASP.NET Settings Schema). Try modifying that element.

提交回复
热议问题