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

URL Encoding an Extended ASCII std::string in C++

I have an std::string filled with extended ASCII values (e.g. čáě). I need to URL encode this string for JavaScript to decode with DecodeURIComponent. I have tried converting it to UTF-16 and then to UTF-8 via the windows-1252 codepoint, but wasn't…
freemanovec
  • 17
  • 3
  • 6
0
votes
1 answer

S3: downloading files with "@" (at symbol) (at sign) in the filename

I have a bunch of files with "@" sign in them. I've uploaded them to S3 and I wish to serve them to my mobile client. However, because AWS url-encodes the '@' sign, the path to the file is no longer what I originally uploaded. for example: I…
FuzzyAmi
  • 5,669
  • 5
  • 35
  • 64
0
votes
0 answers

swift 4.0 Alamofire 4.0+ swiftyjson post request with URL Encode (data=JsonData)

i need to get response from a .post request for a custom parameters with alamofire. Method : POST Content Type : application/x-www-form-urlencoded Accept : application/json Parameter : URL Encode (data=JsonData) the post…
Dzily
  • 3
  • 1
0
votes
1 answer

PHP Webhook Receiver not receiving data from Freshdesk

I'm not a PHP programmer but I have successfully gotten webhooks working with CaptainForms and Formstack before thanks to alot of research and reading. However, I'm having a hard time getting my webhook file to work in FreskDesk. I've attempted to…
Mr. KT
  • 15
  • 4
0
votes
1 answer

objective encode in utf8 instead of unicode

I'm having a problem with objective C and Hebrew characters. I'm trying to get information from a NSURL to an NSMutableDictionary. I'm using objectForKey:[url absoluteString] The problem is for example for the string…
0
votes
0 answers

Apache Tomcat drops connection with 400 error and no explanation with certain URLs

I have an application that uses Javascript code to generate URLs that are sent to a REST endpoint running under Apache Tomcat 8.5. The data sent to the URL includes an identifier field that may contain "special" characters. I encode this…
Jules
  • 13,417
  • 7
  • 75
  • 117
0
votes
1 answer

URL encoding with SharePoint URL and cURL

I am new to using CURL. I am trying to connect to a SharePoint URL and pull the data in the form of json. My URL looks like this: .../_api/web/lists/GetByTitle('titles list')/items If I give the URL as it is without any encoding, it fails with a…
Hemanth
  • 555
  • 1
  • 11
  • 28
0
votes
1 answer

Linux CURL how to POST file and data url encoded same time?

I have a problem to send a POST request with a text file and some key=value (value contains special characters and it needs to be encoded, e.g: query=select c + a % b). I've tried like this and it returns error Warning: You can only select one HTTP…
Bằng Rikimaru
  • 1,193
  • 2
  • 15
  • 42
0
votes
2 answers

Why does java can't recognize html text after submtting to Spring controller?

I send js variable to Spring controller by clicking button. That's what I have in js: function submitArticle() { var pdata= $('textarea').froalaEditor('html.get'); $.post("/submitProject", pdata).done(function(response) { …
Dan Durnev
  • 79
  • 12
0
votes
1 answer

Firefox automatically decoding URL? CodeIgniter allowed characters problem

When visiting this address on w3schools the %28 in the address is automatically decoded to ( in the Firefox address bar as soon as I press enter to load the page. http://www.w3schools.com/TAGS/html_form_submit.asp?text=%28Hello+G However, when…
Moz
  • 1,464
  • 6
  • 20
  • 31
0
votes
1 answer

How can I download an image that contains Arabic characters in the name?

Here is my code: WebClient client = new WebClient(); client.DownloadFile("http://bazdeh.org/wp-content/uploads/2016/05/%D8%A8%D8%A7%D8%B2%D8%AF%D9%87-%D8%B1%D9%88%DB%8C.jpg", Server.MapPath("/Image/holoo3.jpg")); // original url (not encoded):…
sadegh
  • 19
  • 9
0
votes
1 answer

Uri.EscapeDataString or HttpUtility.UrlEncode does not work for my case

I have an API in a project which I coded as following: [Route("api/SearchCustomer/{customer}")] [HttpGet] public List SearchCustomer(string customer) { return customerRepo.GetSearchJoined(customer); } At first, I got an issue when I…
user3293338
  • 391
  • 1
  • 3
  • 14
0
votes
1 answer

c# wup Post Request with urlencoded Content

i try to execute a Post Request with Postdata, wich are partial urlencoded. i have the following PostData to send: p1=v1 p2=v2 p3=up1=uv1&up2=uv2 in order to achieve this, i format the value of p3 p3=up1%3duv1%26up2%3duv2 Then i write everything…
2red13
  • 10,616
  • 7
  • 37
  • 52
0
votes
1 answer

How to encode post data when using requests?

I'm writing a python script that sends push notifications to iOS devices via Parse Server. Some of these push notifications will contain location names with special characters such as æ, ø and å. On the iOS device, these characters show up as a �…
0
votes
2 answers

URL encoding in PHP

I am trying to see if url encoding of get parameters while submitting a form is possible. I have seen a few resources where url encoding is being is used where the URLs are built dynamically ex: www.google.com?query=urlencode($query) But how do I…
macha
  • 6,657
  • 17
  • 56
  • 82
1 2 3
99
100