Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I copy the following URL from FireFox
https://example.com/away.php?to=http://example.com/page/42

and then paste, I get a link like:
https://example.com/away.php?to=http%3A%2F%2Fexample.com%2Fpage%2F42

How do I get the non-encoded link instead? Maybe there is a hidden option in Firefox, or a plugin. I tried searching the web, but didn't found anything.

share|improve this question
    
I don't experience this with Firefox. What version are you using? –  Dave Mar 13 '13 at 14:39
    
@DaveRook 19.0.2 –  Sarge Borsch Mar 13 '13 at 14:52
    
Are you copying this from the address bar in a browser or from the page itself (eg, copying a link)? –  Dave Mar 15 '13 at 9:14
    
@DaveRook I'm copying a link from a web page. When i hover mouse over it, the correct link is displayed at the bottom (status bar, or what's its name), but the result is encoded link. –  Sarge Borsch Mar 15 '13 at 14:32
1  
The encoding you see is because the website has actually rendered it like that. The reason it's removed when you hover the mouse over is because your browser is choosing to display it differently, but when you copy and paste, that has nothing to do with the browser per se (hence why same issue occurs in notepad). –  Dave Mar 15 '13 at 14:36

3 Answers 3

up vote 3 down vote accepted

In about:config set

network.standard-url.escape-utf8: false

After this path copied as not encoded. But ancor keep encoded. :(

share|improve this answer
    
I've tried this, but nothing happens. The copied url still be encoded –  Lưu Vĩnh Phúc Sep 27 '13 at 0:39

Open the config page in Firefox by typing in about:config, then promise to be careful and enter.

Type network.standard-url into the search box.

Ensure both values are set to true.

enter image description here

Source

Edit

As per mmv-ru comments, setting escape-utf-8 to false helped. So I assume keeping encode set to true!

share|improve this answer
    
Yes, they are both already true. –  Sarge Borsch Mar 13 '13 at 16:44
3  
For me, help set escape-utf-8 false –  mmv-ru Sep 6 '13 at 14:46
    
@mmv-ru Thanks for suggestion, I'll try it when at home. –  Sarge Borsch Sep 6 '13 at 16:01
    
@mmv-ru Works like in a dream. If you want, you can post this as answer and I'll accept it. –  Sarge Borsch Sep 6 '13 at 17:26

A work around is to not copy the entire URL from the bar (this works in firefox). And then it wont encode it.

I found that in firefox, if I placed my cursor in the address bar and press 'CTRL A', 'CTRL C', and then Paste it into whatever (an email, notepad++ etc). Then the url would change from what was originally in the URL.

EG.

http://example/test.php?p=(999)+999+999

Would become:

http://example/test.php?p=%28999%29+999+999

But if I copied from the 'x' in example:

xample/test.php?p=(999)+999+999

The URL was not changed on paste and it was easy to fix the front of the URL.

Hope this clears it up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.