Summary | javascript toolbar link loses url parameters |
Queue | Trean |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | ben (at) |
Requester | glen (at) delfi (dot) ee |
Created | 05/11/2005 (7394 days ago) |
Due | |
Updated | 05/23/2005 (7382 days ago) |
Assigned | |
Resolved | 05/23/2005 (7382 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ javascript toolbar link loses url parameters
Queue ⇒ Trean
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();