[Bug 256219] [NEW] Copy Link Location adds %20 where spaces should be in JAVASCRIPT links (messes up the js function when pasting somewhere else)

JasonSpradlin82 jaspradlin at gmail.com
Fri Aug 8 21:48:47 UTC 2008


Public bug reported:

Binary package hint: firefox-3.0

on this page:
http://www.streamingfaith.com/directory/network.aspx?nsn=ABLFC

there is a link that reads "Click here to view now!"

The HREF is javascript:OpenPopup('/faithpass/index.aspx?nsn=ABLFC',
_sWindowName, _iWidth, _iHeight, _sScrollYesNo, _sResizableYesNo);

When you right click the text link, however, and select Copy Link
Location, Firefox (3.0+ only) converts the spaces between the JS
variables into %20.  This is fine for standard HTTP:// links, but it
breaks the javascript link when I try to paste it elsewhere.  It looks
like this:

javascript:OpenPopup('/faithpass/index.aspx?nsn=ABLFC',%20_sWindowName,%20_iWidth,%20_iHeight,%20_sScrollYesNo,%20_sResizableYesNo);

Every time I copy a link this way, i have to paste it into a text editor
and then replace all "%20" with a space.  Then i have to recopy that if
I want to paste the link somewhere else.

This did NOT happen in Firefox 2.x browsers.  This is something I use
DAILY at work (I work for Streaming Faith) and it really makes things
difficult, because when (not if) I forget to remove the %20s, the
javascript function doesn't run.

** Affects: firefox-3.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Copy Link Location adds %20 where spaces should be in JAVASCRIPT links (messes up the js function when pasting somewhere else)
https://bugs.launchpad.net/bugs/256219
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list