我使用下面的命令在Web.config中添加一个条目
C:\Windows\System32\inetsrv>appcmd set config "MarketWorkFlowWebApp" section:system.webServer/security/requestFiltering /allowDoubleEscaping:false产出:
Applied configuration changes to section "system.webServer/security/requestFiltering" for "MACHINE/WEBROOT/APPHOST/MarketWorkFlowWebApp" at configuration commit
path "MACHINE/WEBROOT/APPHOST/MarketWorkFlowWebApp"添加设置运行良好。
若要删除上述条目,请使用以下命令
C:\Windows\System32\inetsrv>appcmd set config "MarketWorkFlowWebApp" -section:system.webServer/security/requestFilteringOutPut:
Applied configuration changes to section "system.webServer/security/requestFiltering" for "MACHINE/WEBROOT/APPHOST/MarketWorkFlowWebApp" at configuration commit
path "MACHINE/WEBROOT/APPHOST/MarketWorkFlowWebApp"但是web.config仍然包含这些条目。
那么,如何从web.config中删除任何现有的标记。
发布于 2015-11-18 17:38:43
这对我来说很管用:
appcmd.exe set config "Default Web Site/" -section:system.webServer/security/requestFiltering /allowDoubleEscaping:"True"然后再到celar去..。
appcmd.exe clear config "Default Web Site/" -section:system.webServer/security/requestFiltering /allowDoubleEscapinghttps://stackoverflow.com/questions/33782197
复制相似问题