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).

2314 questions
0
votes
1 answer

jQuery.param in Dart

I need to send the body with Content-Type: application/x-form-urlencoded The body request in json is the…
assistbss
  • 527
  • 7
  • 25
0
votes
1 answer

urlopen: AttributeError: 'bytes' object has no attribute 'timeout'

I am trying to open a json file from an API with includes characters of the polish alphabet. I have tried to encode the url into utf-8 but still all kind of problems pop up. I include the code I wrote and the error that appears. import…
0
votes
1 answer

Change all values in string of format "key=value&..."

I have a string: var data = 'key1=value1&key2=value2&...'; String has a huge number of keys-values combinations. I need to change all values, by some rule - encodeURIComponent it. I need to do that only relatively to values (and maybe keys), but…
Stdugnd4ikbd
  • 242
  • 3
  • 9
0
votes
1 answer

How to avoid Java request.getQueryString() get escaped string

I have a Servlet that process a QueryString from a JSP form. When the JSP send the information to the Servlet, it puts on the URL the query, like this: https://www.mywebsite.com/search?query=Barcelona And i receive the data inside the Servlet in…
Ommadawn
  • 2,450
  • 3
  • 24
  • 48
0
votes
1 answer

Run C# UrlEncode String in HTML

I need to URL encode an email address. If I do this (without URL encode), it works: Test The email…
GTS Joe
  • 3,612
  • 12
  • 52
  • 94
0
votes
0 answers

How to pass an Encoded ("application/x-www-form-urlencoded") object with array within a query string in HttpClient?

I am trying to encode ("application/x-www-form-urlencoded") an object in Angular using HttpParameterCodec. This object has a field as object which in turn has array of string. object structure as mentioned below. export class SearchRequest {id:…
0
votes
0 answers

Creating Gmail draft with API and include link from Google Sheets script

I have set up a Gsheet in which there are several Email for which drafts need to be created. I use the following code to achieve this: const RECIPIENT_COL = "Recipient"; const CC= "Sidekick email address"; const DRAFT_CREATED_COL = "Draft…
0
votes
1 answer

How to encode special characters for LDAP query in cURL

Let's say I want to run a query like: ldaps://ldap.company.com/CN=Richards\, Renée,OU=Blah,DC=company,DC=com?field1,field2,field3?sub?(&(objectClass=user)) I found that I had to percent-encode the é using Windows-1252 encoding table ( %e9 rather…
Jason Wood
  • 351
  • 1
  • 5
  • 13
0
votes
1 answer

Angular 9 - how to properly encode + sign in URL parameter

I spent many hours without success. I know it's a common problem, many solutions but for me works only Interceptor that I want to avoid. My service - here I get email with plus like john.doe+100@gmail.com @Injectable({ providedIn:…
Matley
  • 1,953
  • 4
  • 35
  • 73
0
votes
1 answer

How to encode url, containing special characters in query parameters using resttemplate

I am getting error when I hit a URL which contains special characters in query parameters using RestTemplate. My URL is something like this …
0
votes
0 answers

Why clipboard of url is encoded?

As we know, URL is encoded before it is sent. link However, why is it encoded when it's copied to the clipboard? I've been Googling it, but it's all about how to convert it. There's no post on why. Example https://velog.io/@njh7799/뷰-공부-링크들 if I…
Jeong Ho Nam
  • 803
  • 12
  • 20
0
votes
1 answer

Angular 9 - GET request parses string into wrong value

I am trying to send a simple string as Queryparameter with a GET request in Angular 9. The string contains special chars like + by example getString(stringParam: string): Observable { console.log('api param', stringParam); let…
0
votes
1 answer

Encoding URL with Spaces in Java works incorrectly

I am trying a simple url encoding that needs to be done for the URL below: https://example.org/v1/x/y/Quick Brown Fox/jumps/over/ I use the below code: String url = https://example.org/v1/x/y/Quick Brown Fox/jumps/over/; url =…
The Cloud Guy
  • 963
  • 1
  • 8
  • 20
0
votes
1 answer

how to stop wordpress hosted on iis from encoding and decoding images that contains arabic characters

I have a wordpress website that I deployed on IIS the website had a problem earlier that arabic names for posts and categories was not working and after a lot of search I found an answer on stackoverflow that advice me to add those two lines in my…
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175
0
votes
0 answers

'」' or '「' causing URI problems with Atom Live Server

I'm creating a web-playlist with Amplitude.js, and am having problems generating the urls for some of the song files. Specifically, when I try to encode a string with the '「 ' and '」' characters, it does not return the correct url. When I manually…
ANimator120
  • 2,556
  • 1
  • 20
  • 52
1 2 3
99
100