tagged [urlencode]

How to URL encode periods?

How to URL encode periods? I need to URL encode some periods since I have to pass some document path along and it is like this So test.docx is causing me an error of an illegal character. So I need to...

18 Sep at 07:21

How to encode the plus (+) symbol in a URL

How to encode the plus (+) symbol in a URL The URL link below will open a new Google mail window. The problem I have is that Google replaces all the plus (+) signs in the email body with blank space. ...

Why can't I find or use UrlEncode in Visual Studio 2010?

Why can't I find or use UrlEncode in Visual Studio 2010? I have a string that I'd like to encode into the standard URL format. From what I've found, I should be able to do this via the `httpUtility.ur...

Why is System.Web.HttpUtility.UrlEncode giving namespace name doesn't exist in Visual C# 2008?

Why is System.Web.HttpUtility.UrlEncode giving namespace name doesn't exist in Visual C# 2008? I'm trying to encode a URL using the `HttpUtility.UrlEncode()` method, why am I getting > The type or nam...

2 Sep at 07:35

ServiceStack not URL decoding route parameter in RESTful route

ServiceStack not URL decoding route parameter in RESTful route I'm using self hosted ServiceStack to provide an API to integrate with a ticketing system, and have defined the following routes: I'm hav...

2 Oct at 10:21

Encoding issue service stack, quotes and angle bracket being stripped

Encoding issue service stack, quotes and angle bracket being stripped I have a service stack application, A test service receives a simple request, but I'm finding the value of the request once receiv...

28 Nov at 10:4

How to escape URL-encoded data in POST with HttpWebRequest

How to escape URL-encoded data in POST with HttpWebRequest I am trying to send an URL-encoded post to a REST API implemented in PHP. The POST data contains two user-provided strings: ``` WebRequest re...

URL Encoding using C#

URL Encoding using C# I have an application which sends a POST request to the VB forum software and logs someone in (without setting cookies or anything). Once the user is logged in I create a variabl...

17 Feb at 14:3

Url encoding quotes and spaces

Url encoding quotes and spaces I have some query text that is being encoded with JavaScript, but I've encountered a use case where I might have to encode the same text on the server side, and the enco...

27 Jan at 18:58

How to set the "Content-Type ... charset" in the request header using a HTML link

How to set the "Content-Type ... charset" in the request header using a HTML link I have a simple HTML-page with a UTF-8 encoded link. However, I don't get the browser to include `Conte

How to URL encode a string in Ruby

How to URL encode a string in Ruby How do I `URI::encode` a string like: to get it in a format like: as per RFC 1738? Here's what I tried: ``` irb(main):123:0> URI::encode "\x12\x34\x56\x78\x9a\xbc\xd...

URL-encoded slash in URL

URL-encoded slash in URL My Map is: If I use the URL `http://localhost:5000/Home/About/100%2f200` there is no matching route. I change the URL