Does asp.net mvc Url.Content generate an input encoding, or should I use Url.Encode on top of it?
No.
According to http://msdn.microsoft.com/en-us/library/system.web.mvc.urlhelper.content(VS.90).aspx it only extends the ~ character. If this symbol does not exist, the path is returned since it was transmitted.
You can also test it. Using ASP.Net 4.0 is not for me.
The Content method simply converts the virtual path to the absolute path of the application. What needs to be encoded?
Source: https://habr.com/ru/post/1759881/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1759876/how-to-archive-an-nsarray-of-custom-objects-to-file-in-objective-c&usg=ALkJrhiIT4EOsXdI0RJyF8QjIUII6-RovwImport all modules in django - pythonHow to get Microsoft Visual Studio 2010 work and Qt Visual Studio add-in? - qtHow to request / update remote RDF endpoint using Jena - jenaFacebook новый API все еще требует xdreceiver? - facebookAllow bad time error format in java? - javahow to convert varchar in time in java? - javaMySQL: ORDER BY anyField ASC [with first row X]? - mysqlHow to add security attributes for a non-admin account in the creatnamedpipe win API method - c #Using Match in a Linq Expression - c #All Articles