Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
profile.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2006 at 13:01 UTC
Updated:
26 Aug 2011 at 17:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Wesley Tanaka commentedpatch against HEAD
Comment #2
Wesley Tanaka commentedidentical patch against head in -U 3 format (sorry about previous patch)
Comment #3
Wesley Tanaka commentedSame patch against 4.7 branch's profile.module,v 1.154.2.6
Comment #4
dries commentedNot sure I agree. They don't have to be spam. Drupal has a filter-option that allows you to enable/disable the link condom. Maybe we should use the profile module to use that filter option.
Comment #5
Wesley Tanaka commentedProfile links are as likely to be spam as any other posted content. If rel=nofollow is potentially useful for posted comment, it is also potentially useful for profile links.
The only reference to "rel.*nofollow" I found in the codebase is in
_filter_html($text, $format). Attaching a patch which runs the profile link through that function.Comment #6
Wesley Tanaka commentedThat didn't come out too clearly. I meant to say:
If we think it's worthwhile to protect against spam links in posted content*, we should also protect against spam links posted in users' profiles.
-----
* which we do
Comment #7
drummComment #8
simePatch applied.
I set 'format_default_nofollow_0' = TRUE in settings.php (don't think this can be set in UI which is OK IMO)
nofollow applied to profile url as advertised.
I like the option.
Comment #9
dries commentedComment #10
sunComment #11
catchStill applies with offset.
Comment #12
nonenone commentedIt worked fine for me.
Thanks it was a great advice.
Comment #13
birdmanx35 commentedThis still applies cleanly to core!
Comment #14
gearhead commentedIs there a module that does this?
Comment #15
sunResetting version.
Comment #16
webchickNo longer applies to 7.x.
Comment #17
aspilicious commentedThis one does (2 years after last post :p)
Comment #18
sunComment #19
p.selfin commentedsuscribe
Comment #20
andyceo commentedI think this functionality should be optional. So, if it is not in core, this must be in contributed module.
Comment #21
bangalos commented#17: relNoFoloow.patch queued for re-testing.
Comment #23
bangalos commentedThis patch applies against 7.x-dev. This was done during Drupal Patch Bingo at Droplabs
Comment #25
bangalos commentedThis time, I did a real git diff instead of regular diff.
Comment #26
bangalos commentedApplying the same patch to Drupal 8.
Comment #27
bangalos commentedThe "URL" Profile field no longer exists in Drupal 7 or Drupal 8! Even though the patch may apply, this issue is irrelevant IMHO. Detailed explanation follows:
In Drupal 6, there is Profile.
In Drupal 7, there is no admin interface to add URL field.
Is this a bug, or should we write a patch to remove this code?
Comment #28
bangalos commentedIt looks like this issue depends on #501434: Move Link/URL field type into core which is newer and in drupal-8 queue.
The only reason to keep this code seems to be backwards-compatibility with drupal-6. So, a good patch to do would be to comment the code with this reason. Right?
Comment #29
laura s commentedRelated: #301071: Remove profile module from core
Comment #30
ParisLiakos commentedprofile is not in 8.x now