[Tickets #1957] NEW: javascript toolbar link loses url parameters

bugs@bugs.horde.org bugs at bugs.horde.org
Wed May 11 11:17:16 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1957
-----------------------------------------------------------------------
 Ticket             | 1957
 Created By         | glen at delfi.ee
 Summary            | javascript toolbar link loses url parameters
 Queue              | Trean
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


glen at delfi.ee (2005-05-11 11:17) wrote:

in horde there's link "Add to Bookmarks" which is suggested to trag to
browsers toolbar.
the location.href needs also escape()'d otherwise if adding bookmark which
has ampersands inside, gets lost.

javascript:d = new Date(); w =
window.open('http://wintersunset.delfi.lan/horde/trean/add.php?popup=1' +
'&title=' + escape(document.title) + '&url=' + location.href + '&d=' +
d.getTime(), d.getTime(), 'height=300,width=400'); w.focus();




More information about the bugs mailing list