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
-1
votes
1 answer

php doesn't get the json values i send from curl

curl -i -X POST -d 'json={"Amount":1000,"idPlayers":1}' http://www.myurl.com/updateamount.php My php code:
-1
votes
2 answers

How to avoid special character from URL using java

I am using below code to eliminate the special characters from URL: String url1 = "https://dev/ABC/v1/XYZ?itemnumber%255Bin%255D=%255B3001%252C3005%252C202%255D&limit=2&apikey=4zVYEk2Xg8zvwYxNnW&offset=2"; String decodedURL =…
string
  • 1
  • 1
-1
votes
2 answers
-1
votes
1 answer

Cannot find a urldecode function in terraform

I see there is a urlencode in terraform but no urldecode. Is there any reason why it is not there? What would be the workaround to achieve that in terraform? Thanks, Ram
-1
votes
1 answer

Decode Url Recursively giving error for valid URL

I have trying to decode Recursively encoded url . But for even valid URL it is giving error . I am calling decodeURIRecursively({},"https%3A%2F%2Fgmail.com%3Frate%3D95%25") It should return "https://gmail.com?rate=95%" But return string. If I modify…
Ankita
  • 31
  • 7
-1
votes
1 answer

How to decode encodeURIComponent in PHP without integers turning into strings

In my Javascript code, I form my query like so: let query = "needleKey=" + encodeURIComponent(needle.key) query += "&needleValue=" + encodeURIComponent(needle.value); query += "&newData=" + encodeURIComponent(JSON.stringify(newData)); …
lowcrawler
  • 6,777
  • 9
  • 37
  • 79
-1
votes
2 answers

How to solve this error"Malformed URL"?

I want to pass a params string include style Tag like example: a:"testing!@#$%^&*()_+{}|:"<>?-=[]\;',./" i am using decodeURI to pass the string.but still got error in extjs. I has been checked,is a symbol % cause this…
user715045
  • 155
  • 1
  • 5
  • 15
-1
votes
1 answer

Encode url string to Dictionary In my case: Some value have = inside

I'm trying to convert decode to dictionary from the below url encoded string. The normal method of doing so is given below. In my case it is not working. Also i need to remove any character like \u{05} let params = str.components(separatedBy:…
Saranjith
  • 11,242
  • 5
  • 69
  • 122
-1
votes
1 answer

Why Does Url Decode a Backslash into 2 Backslashes

I am trying to decode a url encoding. However, during testing I saw that the encoding of a backslash \ which is %5C will get decoded into \\. Why is that? How can I make it just one backslash without replacing it manually? This is my code: string…
Tom el Safadi
  • 6,164
  • 5
  • 49
  • 102
-1
votes
2 answers

decode xml string in php

I want to decode this xml string $string= "%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%3CPrintStudentData%20%20name%3D%22John%20Doe%22%20marks%3D%2298%22%20%2F%3E"; I tried echo urldecode($string); but it is not printing…
-1
votes
1 answer

Convert from uri escaped string to original characters string (C#)

I have a string that represents a uri escaped string. I want to convert it to original characters string. For example: 6B%2FdHJaYVYZ9%2BkbVbNwB%2FmxPXwJhzmfIC8aUWOg%2F2mFCWzyrXaRHFsYLZSVedck3UW3FppuUG0jn2f4JMVUx9Q%3D%3D is needed to be converted…
Cod Fish
  • 917
  • 1
  • 8
  • 37
-1
votes
1 answer

why GET method didn't decode attributes in case url has attributes have spaces?

kindly I have two links, when using both of the links in another page, the first link is decoded automatically by GET Method and the second didn't. the problem is that if there is a space in any attribute, the get don't decode automatically the URL…
mina
  • 141
  • 1
  • 10
-1
votes
1 answer

Stop Rails Anchor param getting encoded

While using Kaminari gem in rails, I got to add an anchor value inorder to load the tabs correctly. But rails encoding the "#" symbol, which preventing the page from rendering correctly. Is there any chance to prevent this from happening. sample…
-1
votes
1 answer

URL decoding resulting in question marks in tomcat

I'm calling a url like this: http://localhost:8080/abc/income?content=%E0%B6%B8%E0%B6%9C%E0%B7%99+%E0%B6%B1%E0%B6%B8+%E0%B6%BD%E0%B6%9A%E0%B7%8A%E0%B6%B8%E0%B7%8F%E0%B6%BD%E0%B7%8A.&SOURCE_PRV=%20HTTP/1.1 and in the backend (tomcat) I'm decoding…
Lakmal Vithanage
  • 2,767
  • 7
  • 42
  • 58
-1
votes
3 answers

PHP url decode does not work

I have issue in decoding a url received from an iOS app; the url is of th…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
1 2 3
29
30