Make links in Private Messages clickable.
Title:
Make links in Private Messages clickable.
Area:
Private messaging system
Summary:
Upon sending a private message to a Dreamwidth user the other night I looked upon the link I included in said message and realized it was unclickable. I thought to myself, what if mobility or other issues kept me from cutting and pasting the link into the browser; what if I were a user who simply needs to be able to click on that link with no other action required? So I'm proposing making all links clickable in private messages.
Description:
Upon reviewing a private message I sent to a Dreamwidth user the other night and realizing the link I included in it was unclickable, I began wondering why links in private messages are unclickable and how much trouble it might be to make them clickable in the future. Currently any links you include in Private Messages are shown in plain text with no way to click through on them to the linked content. I figure this is an accessibility issue for anyone with health issues that prevents them from using the mouse or keyboard fully or who simply experiences pain and over-exertion of already strained joints and tendons upon not being able to click on any links presented to them. So I'm proposing making all links clickable in private messages.
Making links clickable in PMs benefits all users by adding ease of use, speed and simplicity to the PM system; the only downside is that a straight clickthrough could lead a user to say, a malware-infested website. Spammers who sign up for Dreamwidth accounts and then use the PM system simply to spam, and existing users who turn against each other in nefarious ways could use the straight clickthrough function to make it easier for a user to visit a website full of spam and/or malware. But the capability for that sort of abuse is there now; the only difference is it takes a user two more steps (cut, paste, then press enter on your browser's address bar) to get to the website in question. Forcing a user to look at the link by disabling it and requiring extra steps to make it work might be a good idea from a security stand point but it comes at the cost of accessibility and ease of use for all Dreamwidth users.
This suggestion:
Should be implemented as-is.
33 (53.2%)
Should be implemented with changes. (please comment)
14 (22.6%)
Shouldn't be implemented.
7 (11.3%)
(I have no opinion)
7 (11.3%)
(Other: please comment)
1 (1.6%)

no subject
I have Ehlers-Danlos Syndrome and there are times when I can only use one finger or just a thumb to navigate. Making links clickable would make my life a lot easier.
no subject
no subject
no subject
Allowing DW-tags and HTML (I seem to recall those also not working) would also help; it'd be great to be able to send friends links that say "Go check out [username]'s post on [the most awesome news ever]."
no subject
Though granted-access sounds like an excellent universal thing to make clickable.
(I so want a Quasi-Official DW Userscript Library, full of all the lovely DW-page-involved userscripts that various people across the site have built to make their lives easier. Is there a comm for that?)
no subject
no subject
no subject
no subject
no subject
This is why the contents of comments are subject to certain kinds of limitations, such as limiting the use of embeds and disallowing some kinds of HTML and CSS: there are more cases where comments display on www. And it's part of the reason why, for instance, we've moved icons from www.dreamwidth.org/allpics.bml?user=username to username.dreamwidth.org/icons.
Now, we do a lot of things to "clean" tainted data to prevent that kind of attack (and it's why we aren't ridiculously over-paranoid about where tainted data can be displayed, just justifiably cautious), but "make links in the inbox clickable" or "enable HTML in the inbox" or "enable DW specific tags" isn't just a case of flipping a switch in the code: it would mean, essentially, needing to do a full security audit on everywhere that data can possibly be displayed, determine what level of cleaning needs to be done, and hook into those bits of the cleaner. It's much, much easier to escape everything instead.
This is not saying that the suggestion is impossible (or I wouldn't have let it through), just that it is much, much more involved than people think.
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
Hi, Denise. Sorry, I'm a bit lost again. Hehe...
I thought
ciaan said he/she (sorry, couldn't find your gender in your profiles) agreed with
azurelunatic to move to a subdomain, but he/she wanted an extra option to make the links clickable only to those accounts he/she has given access or subscribed to. (right?)
Then you replied him/her saying that it "doesn't do anything to affect the security issue involved".
What do you mean? Are you saying that the security issue is still there even if the inbox is moved to a subdomain?
As you can tell by now, I'm going circles with the thread logic again. Hehe... X-)
no subject
If/when it is moved out of www, it would be a much more acceptable risk.
I was forgetting the heightened security considerations for the www subdomain at the time of my initial comment.
no subject
no subject
no subject
no subject
http://www.google.com/into:
<a href="http://www.google.com/">http://www.google.com/</a>The Support board does this already, and it's served on the www subdomain. The code could be copied over from that.
no subject
This I did not know before. So how exactly is the code sandboxed on that board to prevent triggering security audits when links are used?
After reading Denise's explanation of how implementation would best work (probably by sandboxing everyone's inboxes to their respective subdomains, from all I'm gathering) I'm actually in favor, without more information to speak to it being safe to do it any other way, of just sandoxing everyone's inbox to pull this off. (Not that changing things around to work like that would be easy, either, but it's a one-time cost in terms of programming, coding, etc. as opposed to perpetual security auditing).
no subject
The task of making URLs clickable, on the other hand, is much simpler. URLs by themselves are harmless, so after escaping, you can simply wrap the URL in an <a href="..."> tag. It doesn't actually need sandboxing, as long as the code on the backend is good. The Support board works in exactly the fashion being described here - it escapes all HTML (so HTML can't be used in support requests or answers) but automatically wraps URLs in an <a href="..."> tag to allow them to be clicked.
That said, Denise's solution is possibly better; for security, filtering HTML (rather than just escaping it all) isn't an option on the "www" subdomain, so if we wanted to allow even a filtered subset of HTML - which looks like the direction this conversation is headed - we'd need to have it on a per-journal subdomain anyway.
Does that help?
no subject
And that's all my suggestion originally was about: to simply make links clickable in PMs.
It's an idea that, after reading your explanation of how inclusion of clickable links on the Support board works, I think can be pulled off rather easily without sandboxing inboxes to user subdomains, so I guess what Denise is more hesitant about implementing are the suggestions other users are adding on to my original suggestion, like using HTML in PMs (apart from links), using DW-specific tags, etc.
I guess?
no subject
no subject
no subject
Yes!
no subject
I think I agree with people below in the comment thread that having inbox be part of the user subdomain might be a Good Thing.
no subject
no subject
no subject
no subject
no subject
If that solution is for some reason infeasable, making links clickable might be better than nothing, if and only if the algorithm for deciding what's a link is well done.It isn't helpful at all for things not meant to be links to be turned into them (e.g. linking to visit done.it because I left out a space.)
no subject
Would that actually get around the security issues?
no subject
Go to www.theworldisperfect.com and all your dreams will come true!
Recepient copies and pastes the link and whatever bad things happen... If HTML were enabled, the message could read:
Go to and all your dreams will come true!
Clicking the link goes to the same bad place. There's no difference really. It's easier to do, but it's not more enticing.
If DW really wanted to, they could do the thing where they trap outgoing clicks with a warning that ooh the internet is so dangerous. Personally I hope DW wouldn't do that, but they could with clickable links; they couldn't offer that sort of warning with the current copy-paste method.
no subject
no subject
no subject
1) It sounds like allowing HTML at the discretion of the sender would still trigger a security audit, so it wouldn't be easier to implement from DW's end. It's not safer from malicious code, as Denise says below.
2) IF malicious code weren't an issue, I still don't see any reason it's an improvement over automatically making all links in PMs clickable, as it requires the sender to deliberately make a clickable link. Not everyone would know or remember to do that, resulting in an accessible link less than 100% of the time.
no subject
no subject
no subject
no subject