diaspora/diaspora — Issue #2922: javascript vars need to be escaped in bookmarklet
Author: Raven24
Created: 2012-02-24 00:09:36+00:00
State: open

In the remodelling of the bookmarklet I apparently forgot that even page titles can contain nasty characters like quotation marks. Therefore they need to be escaped, too.
And to make sure, just escape the url as well ;)

https://github.com/diaspora/diaspora/blob/master/app/views/status_messages/bookmarklet.html.haml#L50

#very-quick-fix, #bugmash (does this even 'qualify'/provide any insights for new bugmashers? If not, I can just do it myself)