bkad / prat

group chat with markdown served over websockets
11 stars 6 forks source link

Add rel="noreferrer" to links to prevent referrer linking #109

Closed stevenguyenimpermium closed 10 years ago

stevenguyenimpermium commented 10 years ago

Prevent leaking of the chat site as the HTTP referrer to external sites. http://www.w3.org/html/wg/drafts/html/master/links.html#link-type-noreferrer

bkad commented 10 years ago

Thanks for finding this.

bkad commented 10 years ago

Dug into a little bit, it won't affect image tags :(

stevenguyenimpermium commented 10 years ago

Yep, for image tags, see https://github.com/bkad/prat/issues/106

cespare commented 10 years ago

Any reason not to do this anyway for regular links?

bkad commented 10 years ago

fineeee