You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: LarsF [Submitted to the original trac issue database at 6.38pm, Sunday, 13th December 2009]
[http://www.openstreetmap.org/user/harmagedon/edits This user] was pointed out on talk-de. I thought it'd be a good idea to add rel="nofollow" to all links so I took the opportunity to change every occurrence of "auto_link" to "htmlize".
But I don't have a running Rails server or much experience with RoR so instead of committing it myself I attached the patch here for someone to at least give it a quick look.
The text was updated successfully, but these errors were encountered:
Author: tom[at]compton.nu [Added to the original trac issue at 12.07am, Monday, 14th December 2009]
Why do want to change all these auto_link calls to be htmlize calls? We've never claimed to allow html tags in comments so why should we start rendering them now?
Author: LarsF [Added to the original trac issue at 12.35am, Monday, 14th December 2009]
The links are rendered now (see the link in my initial post). I just changed the calls from auto_link to htmlize because that includes your recent changes to add rel="nofollow" to all links.
Another option would of course be to leave out auto_link all together and just use h on the comments or change auto_link to use rel="nofollow".
In my opinion I think we should be consistent with user provided text ([18585]) so I chose this way as htmlize seems to be the safest option.
Reporter: LarsF
[Submitted to the original trac issue database at 6.38pm, Sunday, 13th December 2009]
[http://www.openstreetmap.org/user/harmagedon/edits This user] was pointed out on talk-de. I thought it'd be a good idea to add rel="nofollow" to all links so I took the opportunity to change every occurrence of "auto_link" to "htmlize".
But I don't have a running Rails server or much experience with RoR so instead of committing it myself I attached the patch here for someone to at least give it a quick look.
The text was updated successfully, but these errors were encountered: