urls copied from adress bar in firefox-3.0 missing %20

Bug #245521 reported by Bronsen
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

In its address bar firefox replaces "%20" with " " which is supposed to increase readability. However, when I copy and paste an url from the address bar, the spaces are not replaces with "%20" again making the pasted url useless. People in #firefox on irc.mozilla.com say their version does in fact put %20 back when copying & pasting the url.

i.e.: opening "http://example.com/url%20with%20space.html" will show as "http://example.com/url with space.html" and copying and pasting the latter will yield "http://example.com/url with space.html" instead of the expected "http://example.com/url%20with%20space.html".

What I want it one of two things:

either make FF3 stop replacing %20 with " " as I can easily parse %20 et al in head

or make it modify the copied text (or modify the text before copying) so that the clipboard contains a valid and usable url.

This is FF3 version Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0 from the hardy package. I don't use ctrl+c to copy, I just mark the text and paste via middlemouse.

Revision history for this message
Vladimir Osintsev (osintsev) wrote :

Unable to reproduce at Hardy 8.04. Copying "http://example.com/url with space.html" from address bar and pasting the latter will yield "http://example.com/url%20with%20space.html" for me. Try some tips from https://wiki.ubuntu.com/MozillaTeam/Bugs

Changed in firefox-3.0:
status: New → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Bronsen (housetier-deactivatedaccount) wrote :

"Try with a new profile"

I did exactly that: I created a new profile and then directly entered "http://example.com/url%20with%20spaces.html" into the address bar, which was then displayed as "http://example.com/url with spaces.html". Copying and pasting this url into xchat or gvim yielded "http://example.com/url with spaces.html" again.

"Be specific"

I think I have been specific :)

"Use the terminal"

This is what I am doing, in order to catch any messages. However, there are no messages from firefox.

"Specific Websites"

This issue is not related to specific websites.

"Crashes" and "Obtain a backtrace from an apport crash report (using gdb)"

Firefox does not crash.

Revision history for this message
Aidan Furlan (aidan-epochlabs) wrote :

I can reproduce this.

Copying "http://example.com/url with space.html" from the address bar with CTRL+c and pasting with CTRL+v yields "http://example.com/url%20with%20spaces.html".

However, copying by highlighting text and pasting with middle mouse click, as per bug report, yields "http://example.com/url with space.html".

Changed in firefox-3.0:
status: Incomplete → Confirmed
Revision history for this message
Savvas Radevic (medigeek) wrote :

Intrepid Ibex 8.10

Confirming, middle-click does not convert the space character to %20
(ctrl+c and ctrl+v works properly)

$ apt-cache policy firefox-3.0
firefox-3.0:
  Installed: 3.0.3+build1+nobinonly-0ubuntu1
  Candidate: 3.0.3+build1+nobinonly-0ubuntu1
  Version table:
 *** 3.0.3+build1+nobinonly-0ubuntu1 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Cosmin L (lcosmin) wrote :

http://example.com/url with space.html doesn't get converted to http://example.com/url%20with%20space.html if you paste using the middle mouse button instead of ctrl+c, ctrl+v.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.