Questions tagged [urlencode]

To “URL encode” or “percent encode” text means to encode it for use in a URL. Some characters are not valid when used as-is in URLs, and so much be URL-encoded (percent-encoded) when appearing in URLs.

https://url.spec.whatwg.org/#percent-encoded-bytes is the section of the current URL standard that defines percent encoding (URL encoding).

2072 questions
0
votes
1 answer

Columns percent alignment pattern search

In a csv file having 2 columns with below field how to get pattern match in percent along with alignment. Note: Values mentioned maynot be correct below. But want to know in case alignment pattern match how much correct it can be. Field1 Field2 %…
0
votes
0 answers

VB.net/Word Addin: URL encoding

I'm creating an addin in Word 2013 with vb.net. I have trouble for encoding a URL. I've seen from other questions that we can use HttpUtility.UrlEncode(string) to encode it, but when I do this, it's not encoded the way I would like it to be. For…
Pookye
  • 79
  • 1
  • 3
  • 13
0
votes
2 answers

android - URL encode from user input

I will encode user input into a single URL, I use Uri.encode but error response remains 400. how to make the encode work? the result is that "space" is replaced with "%20" but the response still fails And this is my code., public void…
Muhammad Imanudin
  • 677
  • 2
  • 12
  • 29
0
votes
1 answer

ASP Response.Redirect Does Not URLEncode "+" Sign

Before IIS 5.0 Response.Redirect was not encoding the string you privide. It was your own responsibility to URLEncode the string. On IIS 4.0 we used Response.Redirect Server.URLEncode("Page,One.asp") With IIS 5.0 we started just…
user1358065
  • 103
  • 1
  • 4
0
votes
4 answers

Recursively decode JSON string until the decoded string is a valid JSON

I have a one-time URL encoded string: $encodedJson =…
sumion
  • 117
  • 2
  • 11
0
votes
2 answers

Safely sending base64 encoded string as query parameter

In my app, I need to send to a server a base64-encoded string as a query parameter, eg. &data=AwGZnyx+JUi0PFJoyYSEDpgtlrxP(cut...)== Problem is, anything works just fine when there isn't a plus sign in my string: on the other hand, everytime…
user1094081
0
votes
1 answer

Using System.Web.HttpUtility.UrlEncode in C# CLR Stored Procedure

I want to use System.Web.HttpUtility.UrlEncode(text) for one of the argument the I send in a HttpWebRequest. but I can't add the System.Web dll to my references. any way to do UrlEncode in CLR? thanks
idan
  • 87
  • 7
0
votes
1 answer

Cloudsearch and API Gateway structured query phrase search

I am integrating Amazon Cloudsearch with API Gateway. Everything is working fine except when I try to do a structured query phrase search. I use this syntax in the Cloudsearch Test Search: (phrase field=title 'search') and it works great. I look at…
0
votes
1 answer

URL Encoding yields two different results? Only one works

I'm writing a Python script to fetch Korean vocabulary pronunciation. I have a URL ready to go, and when I open the URL in Safari, it retrieves the expected JSON from the server. When I use requests to get the JSON, the call fails and no results…
Canucklesandwich
  • 673
  • 5
  • 13
0
votes
2 answers

Python asyncio aiohttp request data encoding

I'm using python's aiohttp basic request module to make requests. My request is base64 encoded string and request body looks like: body = {'request': 'eyJhYmMiOiJ4eXoifQ=='} Here is the code for sending request: response = yield from…
vish4071
  • 4,090
  • 2
  • 22
  • 55
0
votes
1 answer

Url encode in NodeJs

I have a nodejs piece of code where am trying to do a db.get to cloudant trying to build the URL. var contactsFile = result.docs[0]._id; var finalUrl = contactsFile+'/'+contactsFile; testDb.get(urlencode.decode(finalUrl), function(err, data) { …
user6591323
  • 59
  • 1
  • 10
0
votes
1 answer

Asp.net Search For Special Chars with HttpUtility.HtmlEncode

I'am using this codes for search. Response.Redirect("/Search/" + HttpUtility.HtmlEncode(txtAra.Text)); Decoding parameter with HttpUtility.HtmlDecode(Request.QueryString["tag"]) For example I write "Ahşap" textbox and redirecting. Then on search…
serdar
  • 408
  • 1
  • 6
  • 25
0
votes
1 answer

Should i encode xml and json data like query string

i have a very simple question. whenever we post query string data by post method we url-encode it. but now i have to post json and xml. so is that necessary to url-encode json and xml data if someone pass password value like "abc}123" or…
cool cool
  • 227
  • 2
  • 12
0
votes
1 answer

Facing urlencoding issue while processing request

I've written a script in python to scrape some information from a webpage. The site requires get request method. The issue I'm facing at this moment is that as the parameters is needed to be merged with url so it should properly be urlencoded. This…
SIM
  • 20,216
  • 3
  • 27
  • 78
0
votes
1 answer

Don't MIME types like images or PDF files need to be base64 or otherwise encoded?

Don't MIME types like images or PDF files need to be base64 or otherwise encoded when wanting to send them or upload them over HTTP, since they could potentialy contain control characters? Don't binary data need a separate tratment from the textual…
microwth
  • 642
  • 9
  • 22
1 2 3
99
100