Summary: | REGRESSION: Newlines in javascript results in bookmarks are stripped out | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gibbons Burke <gibbonsb> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Major | CC: | ap |
Priority: | P2 | Keywords: | InRadar, Regression |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | javascript:location.href='mailto:?SUBJECT='+document.title+%20'&BODY='+document.title+'%5Cn%3C'+escape(location.href)+'%3E' |
Description
Gibbons Burke
2007-03-21 12:50:36 PDT
Confirmed with a local debug build of WebKit r20361 using Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135). FWIW, I'm seeing the same behavior with Firefox. I'm not sure if this is a new bug or if it is related, but as of the latest nightly build (r21448), the javascript included in this has stopped working entirely. The Subject line and Contents of the email generated contains nothing but the first letter in the title of the web page from which the script was engaged. The problem exists in Safari 3.0.x also. ap says this occurs in firefox as well, this is a p2 I'm not sure if this is a bug, but in any case, here is a workaround: javascript:location.href='mailto:?SUBJECT='+document.title+%20'&BODY='+document.title+'%250A%3C'+escape(location.href)+'%3E' |