类似下面的文件名
info/nul.html
info/aux.html

服务器直接返回404错误提示
查了资料,解决方案如下

web.config中增加如下加粗部分

<configuration>
  <system.web>
    <httpRuntime relaxedUrlToFileSystemMapping="true"/>

    <!-- ... your other settings ... -->
  </system.web>
</configuration>
<httpRuntime relaxedUrlToFileSystemMapping="true"/>

即可完美解决

相关文章:

  • 2021-09-05
  • 2021-08-29
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-08-12
  • 2021-11-03
  • 2021-10-18
  • 2021-06-22
相关资源
相似解决方案