Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
308 views
in Technique[技术] by (71.8m points)

windows - Azure 'A potentially dangerous Request.Path' log with colon (:)

I'm going crazy searching for this event but I didn't find a single solution for that.

That's the situation : Wordpress in a Azure Windows App Service.

All works fine, but in the eventLog.xml a see every day, seems scheduled, a log like that :

A potentially dangerous Request.Path value was detected from the client (:).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

The page request is like that :

https://www.mywebsite.com/my-category/my-article/https:/www.mywebsite.com/my-page/

I'm sure that those links are not in the google serp and there is no link to those pages.


I found that : Azure websites throw 500 error when there is a colon in the URL It's the same error, but I can't afford the same solution.

It seems to be related to the IIS Request Filtering feature, but I'm not a Windows wizard and I don't know how to disable this feature on Azure.

Can anyone solve this issue?


IIS VERSION : 10


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...