c# - Urlhelper.action encodes some special characters -


i have asp.net core web api. use iurlhelper.action generate qualified url. when pass

Østjylland - copy%*

it escapes Ø , whitespaces not *

%c3%98stjylland%20-%20copy*

acording documentation

https://msdn.microsoft.com/en-us/library/system.web.mvc.urlhelper.action(v=vs.118).aspx?f=255&mspperror=-2147217396#anchor_15

no characters should escaped. why happen? have use webutility first decode url urlhelper , encode again webutility escape special characters?


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -