<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="URL最大长度问题" id="card1">
<p> 游客</p><p>
标题:URL最大长度问题<br/>
正文:<br/>
天在测试Email Ticket的时候发现在进行Mark as Read/Unread操作时，请求是通过GET方式进行的。URL中列出了所有参与该操作的Ticket Id。于是，我想起GET请求是有最大长度限制的。遂输入超长一串Ticket Id进行请求，结果页面报错如下：HTTP Error 404.15 - Not FoundThe request filtering module is configured to deny a request where the query string is too long.Most likely causes:Request filtering is configured on the Web server to deny the request because the query string is too long.Things you can try:Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString setting in the applicationhost.config or web.config file.Links and More InformationThis is a security feature. Do not change this feature unless the scope of the change is fully understood. You can configure the IIS server to reject requests whose query string is greater than a specified value. If the request’s query string is greater than the configured value, this error is returned. If the allowed length of the query string needs to be increased, modify the configuration/system.webServer/s<br/><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=504&amp;Page=1">[&lt;&lt;]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=504&amp;Page=1">[[1]]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=504&amp;Page=2">[2]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=504&amp;Page=3">[3]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=504&amp;Page=4">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=504">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=504">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://camnpr.com/wap.asp">首页</a>
</p>
</card>
</wml>