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

Issue with the text file writing in php

I am using urldecode data for writing a content in to a text file, but in that file all the contents are showing together(not aligned expected) in windows notepad(in windows wordpad it is coming correctly), also when i open it in Ubuntu contents are…
Naveenbos
  • 2,532
  • 3
  • 34
  • 60
-1
votes
2 answers

How to Decode String in Java or android?

I get Data from Json in android,date get and save in String Variable.but when use DecodeUrl its error: Error: java.lang.IllegalArgumentException: Invalid % sequence at 40: my code: @SuppressLint("NewApi") public String JsonReguest(String url)…
sr.farzad
  • 665
  • 3
  • 8
  • 23
-1
votes
1 answer

ios - How to declare URLDecode?

I'm trying to get access token,when I decode URL it's getting an error,I think am declaring wrong here.How to declare URLDecode to get access token? in .h file @interface NSString (URLDecode) -(NSString *)URLDecode; @end in .m file -(NSString…
-1
votes
1 answer

Passing parameters through URL in CodeIgniter

I'm having a problem regarding passing parameter from url. The function I use sometimes give the correct result and sometimes not. here is my controller functions: public function link_gen(){ $text = "i have lost my password please help…
Salman Asif
  • 11
  • 1
  • 1
  • 3
-1
votes
1 answer

Easier way to fully decode this string?

Instead of doing this urldecode(urldecode(urldecode(curl_exec($ch)))); The output from curl_exec is encoded more than once, is there a way I can decode it fully with only one call to a function? I just wrote this function and it works…
CLUEL3SS
  • 223
  • 1
  • 3
  • 10
-1
votes
1 answer

URL encoding + sign

I have an application with + sign in its name (eg. DB+JSP.jws). I get an error when trying to create connection as java encodes url + with spaces and hence cannot add the connection to DB JSP/../META-INF/connection.xml (File not found…
Ravi
  • 133
  • 10
-2
votes
1 answer

how to avoid escaping chracters PHP

I have a string, $bodoy= 'this is data \\u003d\ this is data'; I want to urlencode() it, but when I urldecode() it gives me string like this. 'this is data \u003d\ this is data'; Note: I can't change the string, since it is coming from a thirdparty.…
Muhammad Arslan Jamshaid
  • 1,077
  • 8
  • 27
  • 48
-2
votes
1 answer

Get Date/Time format from URL

I'm trying to get the format of Date/Time from the URL with the $_GET and put it into a input field: This is the format: 09/11/2019 14:48 CDT 09/11/2019 14:48 CDT $stime = "09/11/2019 14:48 CDT 09/11/2019 14:48 CDT"; $etime = ""; This is part of…
-2
votes
1 answer

python3 bytes replace %3D by = in the end of file as fast as it possible

I have a bytes object which is actually the file in the format of dataurl. It is about 500 KB. I need to drop 37 bytes of header (I made it using a slice) and replace %3D by = at the end of the file (this sequence can be found 0-2…
divihaga
  • 13
  • 3
-2
votes
2 answers

PHP string is changing spaces to + symbols. Need to decode to keep spaces

I have the following code that places a session code "3888" so that when the user brwosers to the URL without the session code, they are redirected. If they have the code in the URL, the page continues to load. The problem is the code is changing my…
-2
votes
2 answers

json_encode not working with urldecode

json_encode not working with urldecode. Please give some solution
-3
votes
1 answer

How to convert to a link using Rrawurldecode()?

I have a host of files that generate link like this for hosted files: http://endertec.com.br/hf/see-img.php?img=http://www.endertec.com.br/hf/do.php?imgf=Fav2.png But when I see link like this on Facebook, it looks like…
-5
votes
2 answers

How to URLDecode in c# .Net, but exclude some characters?

I want to urldecode, except for the %20 character. How do I accomplish this?
1 2 3
29
30