Questions tagged [urldecode]

urldecode reverses replacements by urlencode(), which is used to prepare a string for use in a URL by replacing invalid characters such as /, +, ', % etc.

urlencode prepare a string for use in a URL, and urldecode does the reverse operation.

See also

448 questions
0
votes
3 answers

Send mail via out.php in order to track clicks of a button

I need to track a button every time someone clicks on it. I created a file "out.php" to send me an email and redirect to a link outside my page. This code redirects but the mail doesn't send.
Chris Fadu Uba
  • 133
  • 1
  • 1
  • 10
0
votes
2 answers

PHP redirect message - tracking with analyitcs outbound links

I need to track a dynamic button that redirects to another url. I need to track everytime this happens and know exactly to what url the user is beeing redirected. The button code:
Chris Fadu Uba
  • 133
  • 1
  • 1
  • 10
0
votes
1 answer

How to transfer files from PC to Android devices

how to open stream file from Http Request in browser and transfer from pc to android devices public class WebServer extends Thread { private static final String SERVER_NAME = "AndWebServer"; private static final String…
Ahmad Aghazadeh
  • 16,571
  • 12
  • 101
  • 98
0
votes
4 answers

URL Get Incorrect

I have the following URL: /eventfunctions.php?eventtype=Don%27t+Touch+The+Floor and when I use $_GET['eventtype']; it is showing as Don\'t but I can't work out why the \ is there or how to get rid of it. None of the other % symbols seem to have…
Tenatious
  • 849
  • 4
  • 12
  • 32
0
votes
1 answer

django custom filter for urldecode giving maximum recursion depth exceeded

i want to write a urldecode template filter and i have a template tag folder under my app with the following code : from django import template from urllib import unquote register = template.Library() @register.filter def unquote(value): …
psychok7
  • 5,373
  • 9
  • 63
  • 101
0
votes
3 answers

Decoding a string in C#

I have a string like "Akzo_Nobel_N@46@V@46@". The original string is "Akzo Nobel N.V." I need to decode it. I have tried like this public static string Decode(string query) { string dSData = HttpUtility.UrlDecode(query.ToString()); return…
SRIRAM
  • 1,888
  • 2
  • 17
  • 17
0
votes
2 answers

how to avoid recursive url-decoding

I am writing something like an image proxy where I receive URLs from my site front-end, and I download images , re-size them, and return smaller images for the front end and client to download from the "proxy". This means I need to take care of…
0
votes
4 answers

Decoding UTF-8 URL in Python

I have a string like "pe%20to%C5%A3i%20mai". When I apply urllib.parse.unquote to it, I get "pe to\u0163i mai". If I try to write this to a file, I get those exact simbols, not the expected glyph. How can I transform the string to utf-8 so in the…
rolisz
  • 10,794
  • 2
  • 19
  • 14
0
votes
2 answers

Javascript: decodeURIComponent refuses to work

I got this guy. He decode a string into a readble one. decodeURIComponent("Invalid Ticker Name \u0027t\u0027 at line: 3") "Invalid Ticker Name 't' at line: 3" Now look at this one. It tells us that the source of this string (array item) is really a…
neoswf
  • 4,730
  • 6
  • 39
  • 59
0
votes
2 answers

spaces between name of fields

hello i am working on codeigniter an iam getting problem that when anyone go to edit name that was entered as "XYZ ABC" means providing space between them then we get "%20" as printed between them when it is printed on textfield to be edited
0
votes
3 answers

PHP - urldecode - utf8 string?

A website I am working on is displaying Crylic characters incorrectly. I don't know why. It doesn't appear to be a character encoding problem. The page title is in Crylic and appears fine. It is just the urldecoded string which is displaying…
user1326244
  • 399
  • 1
  • 5
  • 15
0
votes
1 answer

URLDecode of Unicode results in mojibake

Here's a sample for Android. The same thing happened when I tried it in desktop Java. How do I get it to work? The prefix comes from another question about displaying UTF-8 in WebViews. public class MainActivity extends Activity { Util util =…
Tiiba
  • 67
  • 5
0
votes
2 answers

I get NullReferenceException

i get NullReferenceException when fill Repeater.Some products features empty.i used IsNullControl() method when use UrlDecode() and kill() method for avoid exception.But i get error still.
Pushkin
  • 63
  • 2
  • 8
0
votes
2 answers

Junit + UrlDecoder: Why does this test fail?

I have the following code in one of my tests. The second assertion fails. String decode1 = URLDecoder.decode("a%20b", "UTF-8"); assertTrue("a b".equals(decode1)); // pass assertEquals("a‌ b", decode1); // FAIL I can't figure out why. Is this a…
Ben
  • 7,692
  • 15
  • 49
  • 64
0
votes
1 answer

urldecode wordpress menus

Im using word press menus to show menus on my UTF-8 Hebrew site. For some reason word-press doesn't automatically implement URL decode to the links so my links are pretty ugly. %D7%9E%D7%AA%D7%9B%D7%95%D7%9F%20%D7%9E%D7%92%D7%A0%D7%99%D7%91 how can…
lior r
  • 2,220
  • 7
  • 43
  • 80