Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

C# (HttpWebRequest)WebRequest.Create(Url) [ ] 无法自动转译是什么情况?

image.png


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

1 Answer

0 votes
by (71.8m points)

啥叫自动转义?

只有 +空格/?&=#% 这几个字符,因为在 URL 中本身已经有特殊含义了,所以必须转义。其余的字符本来就可转可不转,要看具体出现的位置会不会造成解析错误。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...