更新时间:2022-12-08 19:10:30
本已在ASP.NET 4 http://haacked.com/archive/2010/04/29/allowing-reserved-filenames-in-URLs.aspx
This has been addressed in ASP.NET 4. http://haacked.com/archive/2010/04/29/allowing-reserved-filenames-in-URLs.aspx
您可以应用在web.config中是放宽这一限制的设置。
You can apply a setting in web.config that relaxes this restriction.
<configuration>
<system.web>
<httpRuntime relaxedUrlToFileSystemMapping="true"/>
<!-- ... your other settings ... -->
</system.web>
</configuration>
希望有所帮助。