Is the HttpWebRequest class to automatically encode a URL parameter? I created an HttpWebRequest with the URL " http://test.com/124?param=%2Ea ". When I commit the fiddler trace, I see that the HTTP request request becomes " http://test.com/124?param=.a , that is,"% 2E "becomes". ".
I tried setting up a debugger in my code, and I'm sure that the URL I passed to HttpWebRequest is " http://test.com/124?param=%2Ea " Do you know that HttpWebRequest does this automatically? And how can I turn it off?
, , %2e URL-, ., , URL- , , ?
%2e
.
, Uri / .. -, . , this SO answer, MS MS Connect
Uri
/
app.config web.config:
app.config
web.config
<uri> <schemeSettings> <add name="http" genericUriParserOptions="DontUnescapePathDotsAndSlashes" /> </schemeSettings> </uri>
Source: https://habr.com/ru/post/1657644/More articles:How to decode machine instructions for assembly in LEGv8? - assemblyhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1657640/access-to-an-aws-api-gateway-with-cognito-connected-with-facebook-in-javascript&usg=ALkJrhhd5x9TcFPqV_O3FCGbEWytyK6rNAES6 - Finding data in nested arrays - javascriptJAVA 8 Ссылка на методы экземпляра. Как vals [i] автоматически сопоставляется с этим в "InstanceMethWithObjectRefDemo.counter" - javaMutual optional reference loop in Swift - swiftHow to compare simple and typed literals in dotnetrdf? - c #Не удалось установить Kafka на DCOS - mesosangular-cli: conditional import using environment variable - angularError LNK2019 unresolved external symbol Tesseract OCR C ++ Using VS 2015 - c ++Tesseract 3.05 Build Errors in Visual Studio 2017 - c ++All Articles